你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphTeamsAsyncOperation Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphTeamsAsyncOperation
- com.
- com.
public final class MicrosoftGraphTeamsAsyncOperation
extends MicrosoftGraphEntity
teamsAsyncOperation.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphTeamsAsyncOperation() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Integer |
attemptsCount()
Get the attempts |
Offset |
createdDateTime()
Get the created |
Microsoft |
error()
Get the error property: operation |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
lastActionDateTime()
Get the last |
Microsoft |
operationType()
Get the operation |
Microsoft |
status()
Get the status property: teams |
String |
targetResourceId()
Get the target |
String |
targetResourceLocation()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAttemptsCount(Integer attemptsCount)
Set the attempts |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withError(MicrosoftGraphOperationError error)
Set the error property: operation |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the last |
Microsoft |
withOperationType(MicrosoftGraphTeamsAsyncOperationType operationType)
Set the operation |
Microsoft |
withStatus(MicrosoftGraphTeamsAsyncOperationStatus status)
Set the status property: teams |
Microsoft |
withTargetResourceId(String targetResourceId)
Set the target |
Microsoft |
withTargetResourceLocation(String targetResourceLocation)
Set the target |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphTeamsAsyncOperation
public MicrosoftGraphTeamsAsyncOperation()
Creates an instance of MicrosoftGraphTeamsAsyncOperation class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: teamsAsyncOperation.
Overrides:
MicrosoftGraphTeamsAsyncOperation.additionalProperties()Returns:
attemptsCount
public Integer attemptsCount()
Get the attemptsCount property: Number of times the operation was attempted before being marked successful or failed.
Returns:
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Time when the operation was created.
Returns:
error
public MicrosoftGraphOperationError error()
Get the error property: operationError.
Returns:
fromJson
public static MicrosoftGraphTeamsAsyncOperation fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphTeamsAsyncOperation from the JsonReader.
Parameters:
Returns:
Throws:
lastActionDateTime
public OffsetDateTime lastActionDateTime()
Get the lastActionDateTime property: Time when the async operation was last updated.
Returns:
operationType
public MicrosoftGraphTeamsAsyncOperationType operationType()
Get the operationType property: teamsAsyncOperationType.
Returns:
status
public MicrosoftGraphTeamsAsyncOperationStatus status()
Get the status property: teamsAsyncOperationStatus.
Returns:
targetResourceId
public String targetResourceId()
Get the targetResourceId property: The ID of the object that's created or modified as result of this async operation, typically a team.
Returns:
targetResourceLocation
public String targetResourceLocation()
Get the targetResourceLocation property: 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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphTeamsAsyncOperation.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphTeamsAsyncOperation.validate()withAdditionalProperties
public MicrosoftGraphTeamsAsyncOperation withAdditionalProperties(Map
Set the additionalProperties property: teamsAsyncOperation.
Overrides:
MicrosoftGraphTeamsAsyncOperation.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAttemptsCount
public MicrosoftGraphTeamsAsyncOperation withAttemptsCount(Integer attemptsCount)
Set the attemptsCount property: Number of times the operation was attempted before being marked successful or failed.
Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphTeamsAsyncOperation withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Time when the operation was created.
Parameters:
Returns:
withError
public MicrosoftGraphTeamsAsyncOperation withError(MicrosoftGraphOperationError error)
Set the error property: operationError.
Parameters:
Returns:
withId
public MicrosoftGraphTeamsAsyncOperation withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphTeamsAsyncOperation.withId(String id)Parameters:
withLastActionDateTime
public MicrosoftGraphTeamsAsyncOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the lastActionDateTime property: Time when the async operation was last updated.
Parameters:
Returns:
withOperationType
public MicrosoftGraphTeamsAsyncOperation withOperationType(MicrosoftGraphTeamsAsyncOperationType operationType)
Set the operationType property: teamsAsyncOperationType.
Parameters:
Returns:
withStatus
public MicrosoftGraphTeamsAsyncOperation withStatus(MicrosoftGraphTeamsAsyncOperationStatus status)
Set the status property: teamsAsyncOperationStatus.
Parameters:
Returns:
withTargetResourceId
public MicrosoftGraphTeamsAsyncOperation withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The ID of the object that's created or modified as result of this async operation, typically a team.
Parameters:
Returns:
withTargetResourceLocation
public MicrosoftGraphTeamsAsyncOperation withTargetResourceLocation(String targetResourceLocation)
Set the targetResourceLocation property: 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:
Returns: