Package com.smartsheet.api.models.enums
Enum GlobalTemplate
- java.lang.Object
-
- java.lang.Enum<GlobalTemplate>
-
- com.smartsheet.api.models.enums.GlobalTemplate
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GlobalTemplate>
public enum GlobalTemplate extends java.lang.Enum<GlobalTemplate>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLANK_SHEET
Blank SheetPROJECT_SHEET
Project sheetTASK_LIST
Task list
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlobalTemplate
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GlobalTemplate[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLANK_SHEET
public static final GlobalTemplate BLANK_SHEET
Blank Sheet
-
TASK_LIST
public static final GlobalTemplate TASK_LIST
Task list
-
PROJECT_SHEET
public static final GlobalTemplate PROJECT_SHEET
Project sheet
-
-
Method Detail
-
values
public static GlobalTemplate[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GlobalTemplate c : GlobalTemplate.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalTemplate valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-