public class OutlookCategory extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
OutlookCategory.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected CategoryColor |
color |
protected String |
displayName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
OutlookCategory() |
| Modifier and Type | Method and Description |
|---|---|
static OutlookCategory.Builder |
builderOutlookCategory()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<CategoryColor> |
getColor() |
Optional<String> |
getDisplayName() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
OutlookCategory |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
OutlookCategory |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
OutlookCategory |
withColor(CategoryColor color) |
OutlookCategory |
withDisplayName(String displayName) |
protected String displayName
protected CategoryColor color
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static OutlookCategory.Builder builderOutlookCategory()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic OutlookCategory withDisplayName(String displayName)
public Optional<CategoryColor> getColor()
public OutlookCategory withColor(CategoryColor color)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic OutlookCategory patch()
this with changed fields reset.public OutlookCategory put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.