Package com.smartsheet.api.models
Class ImageWidgetContent
- java.lang.Object
-
- com.smartsheet.api.models.ImageWidgetContent
-
- All Implemented Interfaces:
WidgetContent
public class ImageWidgetContent extends java.lang.Object implements WidgetContent
-
-
Constructor Summary
Constructors Constructor Description ImageWidgetContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileName()
Gets the name of the image fileFormat
getFormat()
Gets the formatDescriptor for the image filejava.lang.Integer
getHeight()
Gets the original height of the image in pixelsWidgetHyperlink
getHyperlink()
Gets the hyperlink associated with this Widgetjava.lang.String
getPrivateId()
Gets the image private IDWidgetType
getWidgetType()
Returns the type for this widget content objectjava.lang.Integer
getWidth()
Gets the original width of the image in pixelsImageWidgetContent
setFileName(java.lang.String fileName)
Sets the name of the image fileImageWidgetContent
setFormat(Format format)
Sets the formatDescriptor for the image fileImageWidgetContent
setHeight(java.lang.Integer height)
Sets the original height of the image in pixelsImageWidgetContent
setHyperlink(WidgetHyperlink hyperlink)
Sets the hyperlink associated with this WidgetImageWidgetContent
setPrivateId(java.lang.String privateId)
Sets the image private IDImageWidgetContent
setWidth(java.lang.Integer width)
Sets the original width of the image in pixels
-
-
-
Method Detail
-
getWidgetType
public WidgetType getWidgetType()
Returns the type for this widget content object- Specified by:
getWidgetType
in interfaceWidgetContent
- Returns:
- IMAGE
-
getPrivateId
public java.lang.String getPrivateId()
Gets the image private ID- Returns:
- the private ID
-
setPrivateId
public ImageWidgetContent setPrivateId(java.lang.String privateId)
Sets the image private ID
-
getFileName
public java.lang.String getFileName()
Gets the name of the image file- Returns:
- the name of the image file
-
setFileName
public ImageWidgetContent setFileName(java.lang.String fileName)
Sets the name of the image file
-
getFormat
public Format getFormat()
Gets the formatDescriptor for the image file- Returns:
- the formatDescriptor
-
setFormat
public ImageWidgetContent setFormat(Format format)
Sets the formatDescriptor for the image file
-
getHeight
public java.lang.Integer getHeight()
Gets the original height of the image in pixels- Returns:
- the image height
-
setHeight
public ImageWidgetContent setHeight(java.lang.Integer height)
Sets the original height of the image in pixels
-
getHyperlink
public WidgetHyperlink getHyperlink()
Gets the hyperlink associated with this Widget- Returns:
- the hyperlink
-
setHyperlink
public ImageWidgetContent setHyperlink(WidgetHyperlink hyperlink)
Sets the hyperlink associated with this Widget
-
getWidth
public java.lang.Integer getWidth()
Gets the original width of the image in pixels- Returns:
- the image width
-
setWidth
public ImageWidgetContent setWidth(java.lang.Integer width)
Sets the original width of the image in pixels
-
-