Package com.smartsheet.api.models
Class SummaryField
- java.lang.Object
-
- com.smartsheet.api.models.IdentifiableModel<java.lang.Long>
-
- com.smartsheet.api.models.SummaryField
-
public class SummaryField extends IdentifiableModel<java.lang.Long>
-
-
Constructor Summary
Constructors Constructor Description SummaryField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Contact>getContactOptions()Get contact options, only valid when type is CONTACT_LISTjava.util.DategetCreatedAt()Get summary field time of creationUsergetCreatedBy()Get User object of summary field creatorjava.lang.StringgetDisplayValue()Gets the display value of the summary fieldFormatgetFormat()Gets the format descriptorjava.lang.StringgetFormula()Gets the formula for the summary fieldHyperlinkgetHyperlink()Gets the hyperlink associated with the field, if anyjava.lang.LonggetId()Gets the id.ImagegetImage()Gets the image associated with the field, if anyjava.lang.IntegergetIndex()Gets the field index or positionjava.lang.BooleangetLocked()Gets flag indicating if field is lockedjava.lang.BooleangetLockedForUser()Gets flag indicating whether field is locked for the requesting userjava.util.DategetModifiedAt()Gets the last modification date and timeUsergetModifiedBy()Get the User who last modified the fieldObjectValuegetObjectValue()Gets the field's objectValuejava.util.List<java.lang.String>getOptions()Gets PICKLIST optionsjava.lang.StringgetSymbol()Gets applicable symbol for PICKLIST typejava.lang.StringgetTitle()Gets the field's titleColumnTypegetType()Gets the field's type - see Column Typejava.lang.BooleangetValidation()Gets flag indicating whether summary field values are restricted to typeSummaryFieldsetContactOptions(java.util.List<Contact> contactOptions)Set contact optionsSummaryFieldsetCreatedAt(java.util.Date createdAt)Set summary field time of creationSummaryFieldsetCreatedBy(User createdBy)Set User object of summary field creatorSummaryFieldsetDisplayValue(java.lang.String displayValue)Sets the display value of the summary fieldSummaryFieldsetFormat(Format format)Sets the format descriptorSummaryFieldsetFormula(java.lang.String formula)Sets the formula for the summary fieldSummaryFieldsetHyperlink(Hyperlink hyperlink)Sets the hyperlink associated with the fieldIdentifiableModel<java.lang.Long>setId(java.lang.Long id)Sets the id.SummaryFieldsetImage(Image image)Sets the image associated with the fieldSummaryFieldsetIndex(java.lang.Integer index)Sets the field index or positionSummaryFieldsetLocked(java.lang.Boolean locked)Sets flag indicating if field is lockedSummaryFieldsetLockedForUser(java.lang.Boolean lockedForUser)Sets flag indicating whether field is locked for the requesting userSummaryFieldsetModifiedAt(java.util.Date modifiedAt)Sets the last modification date and timeSummaryFieldsetModifiedBy(User modifiedBy)Sets the User who last modified the fieldSummaryFieldsetObjectValue(ObjectValue objectValue)Sets the field's objectValueSummaryFieldsetOptions(java.util.List<java.lang.String> options)Sets PICKLIST optionsSummaryFieldsetSymbol(java.lang.String symbol)Sets applicable symbo for PICKLIST typeSummaryFieldsetTitle(java.lang.String title)Sets the field's titleSummaryFieldsetType(ColumnType type)Sets the field's type - see Column TypeSummaryFieldsetValidation(java.lang.Boolean validation)Sets flag indicating whether summary field values are restricted to type-
Methods inherited from class com.smartsheet.api.models.IdentifiableModel
equals, hashCode
-
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
Description copied from class:IdentifiableModelGets the id.- Overrides:
getIdin classIdentifiableModel<java.lang.Long>- Returns:
- the id
-
setId
public IdentifiableModel<java.lang.Long> setId(java.lang.Long id)
Description copied from class:IdentifiableModelSets the id.- Overrides:
setIdin classIdentifiableModel<java.lang.Long>- Parameters:
id- the new id
-
getContactOptions
public java.util.List<Contact> getContactOptions()
Get contact options, only valid when type is CONTACT_LIST- Returns:
- contactOptions
-
setContactOptions
public SummaryField setContactOptions(java.util.List<Contact> contactOptions)
Set contact options
-
getCreatedAt
public java.util.Date getCreatedAt()
Get summary field time of creation- Returns:
- createdAt
-
setCreatedAt
public SummaryField setCreatedAt(java.util.Date createdAt)
Set summary field time of creation
-
getCreatedBy
public User getCreatedBy()
Get User object of summary field creator- Returns:
- createdBy
-
setCreatedBy
public SummaryField setCreatedBy(User createdBy)
Set User object of summary field creator
-
getDisplayValue
public java.lang.String getDisplayValue()
Gets the display value of the summary field- Returns:
- displayValue
-
setDisplayValue
public SummaryField setDisplayValue(java.lang.String displayValue)
Sets the display value of the summary field
-
getFormat
public Format getFormat()
Gets the format descriptor- Returns:
- format
-
setFormat
public SummaryField setFormat(Format format)
Sets the format descriptor
-
getFormula
public java.lang.String getFormula()
Gets the formula for the summary field- Returns:
- formula
-
setFormula
public SummaryField setFormula(java.lang.String formula)
Sets the formula for the summary field
-
getHyperlink
public Hyperlink getHyperlink()
Gets the hyperlink associated with the field, if any- Returns:
- hyperlink
-
setHyperlink
public SummaryField setHyperlink(Hyperlink hyperlink)
Sets the hyperlink associated with the field
-
getImage
public Image getImage()
Gets the image associated with the field, if any- Returns:
- image
-
setImage
public SummaryField setImage(Image image)
Sets the image associated with the field
-
getIndex
public java.lang.Integer getIndex()
Gets the field index or position- Returns:
- index
-
setIndex
public SummaryField setIndex(java.lang.Integer index)
Sets the field index or position
-
getLocked
public java.lang.Boolean getLocked()
Gets flag indicating if field is locked- Returns:
- locked
-
setLocked
public SummaryField setLocked(java.lang.Boolean locked)
Sets flag indicating if field is locked
-
getLockedForUser
public java.lang.Boolean getLockedForUser()
Gets flag indicating whether field is locked for the requesting user- Returns:
- lockedForUser
-
setLockedForUser
public SummaryField setLockedForUser(java.lang.Boolean lockedForUser)
Sets flag indicating whether field is locked for the requesting user
-
getModifiedAt
public java.util.Date getModifiedAt()
Gets the last modification date and time- Returns:
- modifiedAt
-
setModifiedAt
public SummaryField setModifiedAt(java.util.Date modifiedAt)
Sets the last modification date and time
-
getModifiedBy
public User getModifiedBy()
Get the User who last modified the field- Returns:
- modifiedBy
-
setModifiedBy
public SummaryField setModifiedBy(User modifiedBy)
Sets the User who last modified the field
-
getObjectValue
public ObjectValue getObjectValue()
Gets the field's objectValue- Returns:
- objectValue
-
setObjectValue
public SummaryField setObjectValue(ObjectValue objectValue)
Sets the field's objectValue
-
getOptions
public java.util.List<java.lang.String> getOptions()
Gets PICKLIST options- Returns:
- options
-
setOptions
public SummaryField setOptions(java.util.List<java.lang.String> options)
Sets PICKLIST options
-
getSymbol
public java.lang.String getSymbol()
Gets applicable symbol for PICKLIST type- Returns:
- symbol
-
setSymbol
public SummaryField setSymbol(java.lang.String symbol)
Sets applicable symbo for PICKLIST type
-
getTitle
public java.lang.String getTitle()
Gets the field's title- Returns:
- title
-
setTitle
public SummaryField setTitle(java.lang.String title)
Sets the field's title
-
getType
public ColumnType getType()
Gets the field's type - see Column Type- Returns:
- type
-
setType
public SummaryField setType(ColumnType type)
Sets the field's type - see Column Type
-
getValidation
public java.lang.Boolean getValidation()
Gets flag indicating whether summary field values are restricted to type- Returns:
- validation
-
setValidation
public SummaryField setValidation(java.lang.Boolean validation)
Sets flag indicating whether summary field values are restricted to type
-
-