Package odata.msgraph.client.beta.entity
Class TeamsAsyncOperation
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.TeamsAsyncOperation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class TeamsAsyncOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTeamsAsyncOperation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerattemptsCountprotected OffsetDateTimecreatedDateTimeprotected OperationErrorerrorprotected OffsetDateTimelastActionDateTimeprotected TeamsAsyncOperationTypeoperationTypeprotected TeamsAsyncOperationStatusstatusprotected StringtargetResourceIdprotected StringtargetResourceLocation-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTeamsAsyncOperation()
-
Method Summary
-
-
-
Field Detail
-
attemptsCount
protected Integer attemptsCount
-
createdDateTime
protected OffsetDateTime createdDateTime
-
error
protected OperationError error
-
lastActionDateTime
protected OffsetDateTime lastActionDateTime
-
operationType
protected TeamsAsyncOperationType operationType
-
status
protected TeamsAsyncOperationStatus status
-
targetResourceId
protected String targetResourceId
-
targetResourceLocation
protected String targetResourceLocation
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTeamsAsyncOperation
public static TeamsAsyncOperation.Builder builderTeamsAsyncOperation()
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
-
withAttemptsCount
public TeamsAsyncOperation withAttemptsCount(Integer attemptsCount)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public TeamsAsyncOperation withCreatedDateTime(OffsetDateTime createdDateTime)
-
getError
public Optional<OperationError> getError()
-
withError
public TeamsAsyncOperation withError(OperationError error)
-
getLastActionDateTime
public Optional<OffsetDateTime> getLastActionDateTime()
-
withLastActionDateTime
public TeamsAsyncOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
-
getOperationType
public Optional<TeamsAsyncOperationType> getOperationType()
-
withOperationType
public TeamsAsyncOperation withOperationType(TeamsAsyncOperationType operationType)
-
getStatus
public Optional<TeamsAsyncOperationStatus> getStatus()
-
withStatus
public TeamsAsyncOperation withStatus(TeamsAsyncOperationStatus status)
-
withTargetResourceId
public TeamsAsyncOperation withTargetResourceId(String targetResourceId)
-
withTargetResourceLocation
public TeamsAsyncOperation withTargetResourceLocation(String targetResourceLocation)
-
withUnmappedField
public TeamsAsyncOperation 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 TeamsAsyncOperation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public TeamsAsyncOperation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-