Package com.smartsheet.api.models
Class ShortcutDataItem
- java.lang.Object
-
- com.smartsheet.api.models.ShortcutDataItem
-
public class ShortcutDataItem extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShortcutDataItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentType
getAttachmentType()
Get the attachment type (one of FILE, GOOGLE_DRIVE, LINK, BOX_COM, DROPBOX, EVERNOTE, EGNYTE, ONEDRIVE, SMARTSHEET)Hyperlink
getHyperlink()
Get the hyperlink objectjava.lang.String
getLabel()
Get the label for the data point.Format
getLabelFormat()
Get the label format stringjava.lang.String
getMimeType()
Get the MIME typejava.lang.Integer
getOrder()
Get the display order for this shortcut data itemShortcutDataItem
setAttachmentType(AttachmentType attachmentType)
Set the attachment type (one of FILE, GOOGLE_DRIVE, LINK, BOX_COM, DROPBOX, EVERNOTE, or EGNYTE).ShortcutDataItem
setHyperlink(Hyperlink hyperlink)
Set the hyperlink objectShortcutDataItem
setLabel(java.lang.String label)
Set the label for the data point.ShortcutDataItem
setLabelFormat(Format labelFormat)
Set the label format stringShortcutDataItem
setMimeType(java.lang.String mimeType)
Set the MIME TypeShortcutDataItem
setOrder(java.lang.Integer order)
Set the display order for this shortcut data item
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Get the label for the data point.- Returns:
- label
-
setLabel
public ShortcutDataItem setLabel(java.lang.String label)
Set the label for the data point.
-
getLabelFormat
public Format getLabelFormat()
Get the label format string- Returns:
- labelFormat;
-
setLabelFormat
public ShortcutDataItem setLabelFormat(Format labelFormat)
Set the label format string
-
getAttachmentType
public AttachmentType getAttachmentType()
Get the attachment type (one of FILE, GOOGLE_DRIVE, LINK, BOX_COM, DROPBOX, EVERNOTE, EGNYTE, ONEDRIVE, SMARTSHEET)- Returns:
- attachmentType
-
setAttachmentType
public ShortcutDataItem setAttachmentType(AttachmentType attachmentType)
Set the attachment type (one of FILE, GOOGLE_DRIVE, LINK, BOX_COM, DROPBOX, EVERNOTE, or EGNYTE).
-
getHyperlink
public Hyperlink getHyperlink()
Get the hyperlink object- Returns:
- hyperlink
-
setHyperlink
public ShortcutDataItem setHyperlink(Hyperlink hyperlink)
Set the hyperlink object
-
getOrder
public java.lang.Integer getOrder()
Get the display order for this shortcut data item- Returns:
- order
-
setOrder
public ShortcutDataItem setOrder(java.lang.Integer order)
Set the display order for this shortcut data item
-
getMimeType
public java.lang.String getMimeType()
Get the MIME type- Returns:
- mimeType
-
setMimeType
public ShortcutDataItem setMimeType(java.lang.String mimeType)
Set the MIME Type
-
-