Skip to content

Commit

Permalink
Releasing Java SDK 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sungolivia committed Nov 23, 2017
1 parent 2dee721 commit 90f27cf
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.amazon.alexa</groupId>
<artifactId>alexa-skills-kit</artifactId>
<packaging>jar</packaging>
<version>1.7.0</version>
<version>1.8.0</version>
<name>Alexa Skills Kit</name>
<description>Contains classes used by the Alexa Skills Kit.</description>
<url>http://developer.amazon.com/ask</url>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*
Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
except in compliance with the License. A copy of the License is located at
http://aws.amazon.com/apache2.0/
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the License.
*/

package com.amazon.speech.speechlet.interfaces.display.template;

import com.amazon.speech.speechlet.interfaces.display.element.Image;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* This body template is comprised of the following elements:
* <ul>
* <li>An optional full-screen background image</li>
* <li>An image (rectangular, square)</li>
* <li>An optional title</li>
* </ul>
*
* <p>
* For layout specifics, please refer to our template documentation.
* </p>
*/
@JsonTypeName("BodyTemplate7")
public class BodyTemplate7 extends Template {
private Image backgroundImage;
private Image image;
private String title;

/**
* Returns the background image.
*
* @return the background image
*/
public Image getBackgroundImage() {
return backgroundImage;
}

/**
* Sets the background image.
*
* @param backgroundImage
* the background image
*/
public void setBackgroundImage(Image backgroundImage) {
this.backgroundImage = backgroundImage;
}

/**
* Returns the image.
*
* @return the image
*/
public Image getImage() {
return image;
}

/**
* Sets the image.
*
* @param image
* the image
*/
public void setImage(Image image) {
this.image = image;
}

/**
* Returns the title.
*
* @return the title
*/
public String getTitle() {
return title;
}

/**
* Sets the title.
*
* @param title
* the title
*/
public void setTitle(String title) {
this.title = title;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
@JsonSubTypes.Type(BodyTemplate1.class),
@JsonSubTypes.Type(BodyTemplate2.class),
@JsonSubTypes.Type(BodyTemplate3.class),
@JsonSubTypes.Type(BodyTemplate6.class)
@JsonSubTypes.Type(BodyTemplate6.class),
@JsonSubTypes.Type(BodyTemplate7.class)
})
public abstract class Template {
private String token;
Expand Down

0 comments on commit 90f27cf

Please sign in to comment.