Package com.smartsheet.api.models
Class AutoNumberFormat
- java.lang.Object
-
- com.smartsheet.api.models.AutoNumberFormat
-
public class AutoNumberFormat extends java.lang.Object
Represents the AutoNumberFormat object. It describes how the the System Column type of "AUTO_NUMBER" is auto-generated
-
-
Constructor Summary
Constructors Constructor Description AutoNumberFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFill()
Gets the fill.java.lang.String
getPrefix()
Gets the prefix.java.lang.Long
getStartingNumber()
Gets the starting number.java.lang.String
getSuffix()
Gets the suffix.AutoNumberFormat
setFill(java.lang.String fill)
Sets the fill.AutoNumberFormat
setPrefix(java.lang.String prefix)
Sets the prefix.AutoNumberFormat
setStartingNumber(java.lang.Long startingNumber)
Sets the starting number for the auto-id.AutoNumberFormat
setSuffix(java.lang.String suffix)
Sets the suffix.
-
-
-
Method Detail
-
getPrefix
public java.lang.String getPrefix()
Gets the prefix.- Returns:
- the prefix
-
setPrefix
public AutoNumberFormat setPrefix(java.lang.String prefix)
Sets the prefix. The prefix. Can include the date tokens {YY}, {YYYY}, {MM}, {DD}- Parameters:
prefix
- the new prefix
-
getSuffix
public java.lang.String getSuffix()
Gets the suffix.- Returns:
- the suffix
-
setSuffix
public AutoNumberFormat setSuffix(java.lang.String suffix)
Sets the suffix.- Parameters:
suffix
- the new suffix
-
getFill
public java.lang.String getFill()
Gets the fill.- Returns:
- the fill
-
setFill
public AutoNumberFormat setFill(java.lang.String fill)
Sets the fill. Must be 0 - 10 "0" characters. Indicates zero-padding- Parameters:
fill
- the new fill
-
getStartingNumber
public java.lang.Long getStartingNumber()
Gets the starting number.- Returns:
- the starting number
-
setStartingNumber
public AutoNumberFormat setStartingNumber(java.lang.Long startingNumber)
Sets the starting number for the auto-id.- Parameters:
startingNumber
- the new starting number
-
-