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 AttachmentTypegetAttachmentType()Get the attachment type (one of FILE, GOOGLE_DRIVE, LINK, BOX_COM, DROPBOX, EVERNOTE, EGNYTE, ONEDRIVE, SMARTSHEET)HyperlinkgetHyperlink()Get the hyperlink objectjava.lang.StringgetLabel()Get the label for the data point.FormatgetLabelFormat()Get the label format stringjava.lang.StringgetMimeType()Get the MIME typejava.lang.IntegergetOrder()Get the display order for this shortcut data itemShortcutDataItemsetAttachmentType(AttachmentType attachmentType)Set the attachment type (one of FILE, GOOGLE_DRIVE, LINK, BOX_COM, DROPBOX, EVERNOTE, or EGNYTE).ShortcutDataItemsetHyperlink(Hyperlink hyperlink)Set the hyperlink objectShortcutDataItemsetLabel(java.lang.String label)Set the label for the data point.ShortcutDataItemsetLabelFormat(Format labelFormat)Set the label format stringShortcutDataItemsetMimeType(java.lang.String mimeType)Set the MIME TypeShortcutDataItemsetOrder(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
-
-