Package odata.msgraph.client.complex
Class WorkbookSortField
- java.lang.Object
-
- odata.msgraph.client.complex.WorkbookSortField
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WorkbookSortField extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkbookSortField.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Booleanascendingprotected Stringcolorprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdataOptionprotected WorkbookIconiconprotected Integerkeyprotected StringodataTypeprotected StringsortOnprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWorkbookSortField()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkbookSortField.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAscending()Optional<String>getColor()Optional<String>getDataOption()Optional<WorkbookIcon>getIcon()Optional<Integer>getKey()Optional<String>getSortOn()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WorkbookSortFieldwithAscending(Boolean ascending)WorkbookSortFieldwithColor(String color)WorkbookSortFieldwithDataOption(String dataOption)WorkbookSortFieldwithIcon(WorkbookIcon icon)WorkbookSortFieldwithKey(Integer key)WorkbookSortFieldwithSortOn(String sortOn)WorkbookSortFieldwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
ascending
protected Boolean ascending
-
color
protected String color
-
dataOption
protected String dataOption
-
icon
protected WorkbookIcon icon
-
key
protected Integer key
-
sortOn
protected String sortOn
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAscending
public WorkbookSortField withAscending(Boolean ascending)
-
withColor
public WorkbookSortField withColor(String color)
-
withDataOption
public WorkbookSortField withDataOption(String dataOption)
-
getIcon
public Optional<WorkbookIcon> getIcon()
-
withIcon
public WorkbookSortField withIcon(WorkbookIcon icon)
-
withKey
public WorkbookSortField withKey(Integer key)
-
withSortOn
public WorkbookSortField withSortOn(String sortOn)
-
withUnmappedField
public WorkbookSortField withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static WorkbookSortField.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-