Package com.microsoft.graph.models
Class TeamsAsyncOperation
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TeamsAsyncOperation
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class TeamsAsyncOperation
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TeamsAsyncOperation
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the attemptsCount property value.Gets the createdDateTime property value.getError()
Gets the error property value.The deserialization information for the current modelGets the lastActionDateTime property value.Gets the operationType property value.Gets the status property value.Gets the targetResourceId property value.Gets the targetResourceLocation property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAttemptsCount
(Integer value) Sets the attemptsCount property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setError
(OperationError value) Sets the error property value.void
Sets the lastActionDateTime property value.void
Sets the operationType property value.void
Sets the status property value.void
setTargetResourceId
(String value) Sets the targetResourceId property value.void
setTargetResourceLocation
(String value) Sets the targetResourceLocation property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
TeamsAsyncOperation
public TeamsAsyncOperation()Instantiates a newTeamsAsyncOperation
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TeamsAsyncOperation createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
TeamsAsyncOperation
-
getAttemptsCount
Gets the attemptsCount property value. Number of times the operation was attempted before being marked successful or failed.- Returns:
- a
Integer
-
getCreatedDateTime
Gets the createdDateTime property value. Time when the operation was created.- Returns:
- a
OffsetDateTime
-
getError
Gets the error property value. Any error that causes the async operation to fail.- Returns:
- a
OperationError
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastActionDateTime
Gets the lastActionDateTime property value. Time when the async operation was last updated.- Returns:
- a
OffsetDateTime
-
getOperationType
Gets the operationType property value. The operationType property- Returns:
- a
TeamsAsyncOperationType
-
getStatus
Gets the status property value. The status property- Returns:
- a
TeamsAsyncOperationStatus
-
getTargetResourceId
Gets the targetResourceId property value. The ID of the object that's created or modified as result of this async operation, typically a team.- Returns:
- a
String
-
getTargetResourceLocation
Gets the targetResourceLocation property value. The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAttemptsCount
Sets the attemptsCount property value. Number of times the operation was attempted before being marked successful or failed.- Parameters:
value
- Value to set for the attemptsCount property.
-
setCreatedDateTime
Sets the createdDateTime property value. Time when the operation was created.- Parameters:
value
- Value to set for the createdDateTime property.
-
setError
Sets the error property value. Any error that causes the async operation to fail.- Parameters:
value
- Value to set for the error property.
-
setLastActionDateTime
Sets the lastActionDateTime property value. Time when the async operation was last updated.- Parameters:
value
- Value to set for the lastActionDateTime property.
-
setOperationType
Sets the operationType property value. The operationType property- Parameters:
value
- Value to set for the operationType property.
-
setStatus
Sets the status property value. The status property- Parameters:
value
- Value to set for the status property.
-
setTargetResourceId
Sets the targetResourceId property value. The ID of the object that's created or modified as result of this async operation, typically a team.- Parameters:
value
- Value to set for the targetResourceId property.
-
setTargetResourceLocation
Sets the targetResourceLocation property value. The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths.- Parameters:
value
- Value to set for the targetResourceLocation property.
-