Package odata.msgraph.client.beta.entity
Class TeamworkDeviceOperation
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.TeamworkDeviceOperation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class TeamworkDeviceOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTeamworkDeviceOperation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecompletedDateTimeprotected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected OperationErrorerrorprotected IdentitySetlastActionByprotected OffsetDateTimelastActionDateTimeprotected TeamworkDeviceOperationTypeoperationTypeprotected OffsetDateTimestartedDateTimeprotected Stringstatus-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTeamworkDeviceOperation()
-
Method Summary
-
-
-
Field Detail
-
completedDateTime
protected OffsetDateTime completedDateTime
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
error
protected OperationError error
-
lastActionBy
protected IdentitySet lastActionBy
-
lastActionDateTime
protected OffsetDateTime lastActionDateTime
-
operationType
protected TeamworkDeviceOperationType operationType
-
startedDateTime
protected OffsetDateTime startedDateTime
-
status
protected String status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTeamworkDeviceOperation
public static TeamworkDeviceOperation.Builder builderTeamworkDeviceOperation()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCompletedDateTime
public Optional<OffsetDateTime> getCompletedDateTime()
-
withCompletedDateTime
public TeamworkDeviceOperation withCompletedDateTime(OffsetDateTime completedDateTime)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public TeamworkDeviceOperation withCreatedBy(IdentitySet createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public TeamworkDeviceOperation withCreatedDateTime(OffsetDateTime createdDateTime)
-
getError
public Optional<OperationError> getError()
-
withError
public TeamworkDeviceOperation withError(OperationError error)
-
getLastActionBy
public Optional<IdentitySet> getLastActionBy()
-
withLastActionBy
public TeamworkDeviceOperation withLastActionBy(IdentitySet lastActionBy)
-
getLastActionDateTime
public Optional<OffsetDateTime> getLastActionDateTime()
-
withLastActionDateTime
public TeamworkDeviceOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
-
getOperationType
public Optional<TeamworkDeviceOperationType> getOperationType()
-
withOperationType
public TeamworkDeviceOperation withOperationType(TeamworkDeviceOperationType operationType)
-
getStartedDateTime
public Optional<OffsetDateTime> getStartedDateTime()
-
withStartedDateTime
public TeamworkDeviceOperation withStartedDateTime(OffsetDateTime startedDateTime)
-
withStatus
public TeamworkDeviceOperation withStatus(String status)
-
withUnmappedField
public TeamworkDeviceOperation withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public TeamworkDeviceOperation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public TeamworkDeviceOperation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-