Package com.smartsheet.api.models
Class Image
- java.lang.Object
-
- com.smartsheet.api.models.Image
-
public class Image extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Image()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAltText()
get the alternate text (altText) for the image.java.lang.Long
getHeight()
gets the height (in pixels) of the uploaded imagejava.lang.String
getId()
Gets the image id.java.lang.String
getImageId()
gets the image IDjava.lang.Long
getWidth()
gets the width (in pixels) of the uploaded imageImage
setAltText(java.lang.String altText)
set the alternate text (altText) for the image.Image
setHeight(java.lang.Long height)
sets the width (in pixels) of the uploaded imageImage
setId(java.lang.String id)
Sets the image idImage
setImageId(java.lang.String id)
sets the image IDImage
setWidth(java.lang.Long width)
sets the width (in pixels)
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the image id.- Returns:
- the image id
-
setId
public Image setId(java.lang.String id)
Sets the image id
-
getImageId
public java.lang.String getImageId()
gets the image ID- Returns:
- the id
-
setImageId
public Image setImageId(java.lang.String id)
sets the image ID- Parameters:
id
- the id
-
getWidth
public java.lang.Long getWidth()
gets the width (in pixels) of the uploaded image
-
setWidth
public Image setWidth(java.lang.Long width)
sets the width (in pixels)
-
getHeight
public java.lang.Long getHeight()
gets the height (in pixels) of the uploaded image- Returns:
- the height
-
setHeight
public Image setHeight(java.lang.Long height)
sets the width (in pixels) of the uploaded image
-
getAltText
public java.lang.String getAltText()
get the alternate text (altText) for the image.- Returns:
- altText
-
setAltText
public Image setAltText(java.lang.String altText)
set the alternate text (altText) for the image.
-
-