public class TimeOffReason extends ChangeTrackedEntity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeOffReason.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected TimeOffReasonIconType |
iconType |
protected Boolean |
isActive |
createdDateTime, lastModifiedBy, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
TimeOffReason() |
| Modifier and Type | Method and Description |
|---|---|
static TimeOffReason.Builder |
builderTimeOffReason()
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<String> |
getDisplayName() |
Optional<TimeOffReasonIconType> |
getIconType() |
Optional<Boolean> |
getIsActive() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
TimeOffReason |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
TimeOffReason |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
TimeOffReason |
withDisplayName(String displayName) |
TimeOffReason |
withIconType(TimeOffReasonIconType iconType) |
TimeOffReason |
withIsActive(Boolean isActive) |
getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, stageForDeletion, withCreatedDateTime, withLastModifiedBy, withLastModifiedDateTimeprotected String displayName
protected TimeOffReasonIconType iconType
protected Boolean isActive
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class ChangeTrackedEntitypublic static TimeOffReason.Builder builderTimeOffReason()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class ChangeTrackedEntitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class ChangeTrackedEntitypublic TimeOffReason withDisplayName(String displayName)
public Optional<TimeOffReasonIconType> getIconType()
public TimeOffReason withIconType(TimeOffReasonIconType iconType)
public TimeOffReason withIsActive(Boolean isActive)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class ChangeTrackedEntitypublic TimeOffReason patch()
this with changed fields reset.patch in class ChangeTrackedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic TimeOffReason put()
this
with changed fields reset (they were ignored anyway).put in class ChangeTrackedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class ChangeTrackedEntityCopyright © 2018–2020. All rights reserved.