Class MicrosoftGraphOnenoteOperation
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOperation
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteOperation
onenoteOperation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphOnenoteOperation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: onenoteOperation.error()Get the error property: onenoteOperationError.Get the percentComplete property: The operation percent complete if the operation is still in running status.Get the resourceId property: The resource id.Get the resourceLocation property: The resource URI for the object.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onenoteOperation.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: The start time of the operation.Set the error property: onenoteOperationError.Set the id property: Read-only.withLastActionDateTime(OffsetDateTime lastActionDateTime) Set the lastActionDateTime property: The time of the last action of the operation.withPercentComplete(String percentComplete) Set the percentComplete property: The operation percent complete if the operation is still in running status.withResourceId(String resourceId) Set the resourceId property: The resource id.withResourceLocation(String resourceLocation) Set the resourceLocation property: The resource URI for the object.Set the status property: operationStatus.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOperation
createdDateTime, lastActionDateTime, statusMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphOnenoteOperation
public MicrosoftGraphOnenoteOperation()Creates an instance of MicrosoftGraphOnenoteOperation class.
-
-
Method Details
-
error
Get the error property: onenoteOperationError.- Returns:
- the error value.
-
withError
Set the error property: onenoteOperationError.- Parameters:
error- the error value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
percentComplete
Get the percentComplete property: The operation percent complete if the operation is still in running status.- Returns:
- the percentComplete value.
-
withPercentComplete
Set the percentComplete property: The operation percent complete if the operation is still in running status.- Parameters:
percentComplete- the percentComplete value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
resourceId
Get the resourceId property: The resource id.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The resource id.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
resourceLocation
Get the resourceLocation property: The resource URI for the object. For example, the resource URI for a copied page or section.- Returns:
- the resourceLocation value.
-
withResourceLocation
Set the resourceLocation property: The resource URI for the object. For example, the resource URI for a copied page or section.- Parameters:
resourceLocation- the resourceLocation value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
additionalProperties
Get the additionalProperties property: onenoteOperation.- Overrides:
additionalPropertiesin classMicrosoftGraphOperation- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenoteOperation withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onenoteOperation.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOperation- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnenoteOperation object itself.
-
withCreatedDateTime
Set the createdDateTime property: The start time of the operation.- Overrides:
withCreatedDateTimein classMicrosoftGraphOperation- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
withLastActionDateTime
Set the lastActionDateTime property: The time of the last action of the operation.- Overrides:
withLastActionDateTimein classMicrosoftGraphOperation- Parameters:
lastActionDateTime- the lastActionDateTime value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
withStatus
Set the status property: operationStatus.- Overrides:
withStatusin classMicrosoftGraphOperation- Parameters:
status- the status value to set.- Returns:
- the MicrosoftGraphOperation object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphOperation- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphOperation- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-