MicrosoftGraphOnenoteOperation Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOperation - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnenoteOperation
- com.
- com.
- com.
public final class MicrosoftGraphOnenoteOperation
extends MicrosoftGraphOperation
Represents an onenote operation.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphOnenoteOperation() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
Microsoft |
error()
Get the error property: onenote |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| String |
percentComplete()
Get the percent |
| String |
resourceId()
Get the resource |
| String |
resourceLocation()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
|
Microsoft |
withError(MicrosoftGraphOnenoteOperationError error)
Set the error property: onenote |
|
Microsoft |
withId(String id)
Set the id property: Read-only. |
|
Microsoft |
withLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the last |
|
Microsoft |
withPercentComplete(String percentComplete)
Set the percent |
|
Microsoft |
withResourceId(String resourceId)
Set the resource |
|
Microsoft |
withResourceLocation(String resourceLocation)
Set the resource |
|
Microsoft |
withStatus(MicrosoftGraphOperationStatus status)
Set the status property: operation |
Methods inherited from MicrosoftGraphEntity
Methods inherited from MicrosoftGraphOperation
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOnenoteOperation
public MicrosoftGraphOnenoteOperation()
Creates an instance of MicrosoftGraphOnenoteOperation class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: onenoteOperation.
Overrides:
MicrosoftGraphOnenoteOperation.additionalProperties()Returns:
error
public MicrosoftGraphOnenoteOperationError error()
Get the error property: onenoteOperationError.
Returns:
fromJson
public static MicrosoftGraphOnenoteOperation fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOnenoteOperation from the JsonReader.
Parameters:
Returns:
Throws:
percentComplete
public String percentComplete()
Get the percentComplete property: The operation percent complete if the operation is still in running status.
Returns:
resourceId
public String resourceId()
Get the resourceId property: The resource id.
Returns:
resourceLocation
public String resourceLocation()
Get the resourceLocation property: The resource URI for the object. For example, the resource URI for a copied page or section.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphOnenoteOperation.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphOnenoteOperation.validate()withAdditionalProperties
public MicrosoftGraphOnenoteOperation withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteOperation.
Overrides:
MicrosoftGraphOnenoteOperation.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphOnenoteOperation withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The start time of the operation.
Overrides:
MicrosoftGraphOnenoteOperation.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withError
public MicrosoftGraphOnenoteOperation withError(MicrosoftGraphOnenoteOperationError error)
Set the error property: onenoteOperationError.
Parameters:
Returns:
withId
public MicrosoftGraphOnenoteOperation withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphOnenoteOperation.withId(String id)Parameters:
withLastActionDateTime
public MicrosoftGraphOnenoteOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the lastActionDateTime property: The time of the last action of the operation.
Overrides:
MicrosoftGraphOnenoteOperation.withLastActionDateTime(OffsetDateTime lastActionDateTime)Parameters:
withPercentComplete
public MicrosoftGraphOnenoteOperation withPercentComplete(String percentComplete)
Set the percentComplete property: The operation percent complete if the operation is still in running status.
Parameters:
Returns:
withResourceId
public MicrosoftGraphOnenoteOperation withResourceId(String resourceId)
Set the resourceId property: The resource id.
Parameters:
Returns:
withResourceLocation
public MicrosoftGraphOnenoteOperation withResourceLocation(String resourceLocation)
Set the resourceLocation property: The resource URI for the object. For example, the resource URI for a copied page or section.
Parameters:
Returns:
withStatus
public MicrosoftGraphOnenoteOperation withStatus(MicrosoftGraphOperationStatus status)
Set the status property: operationStatus.
Overrides:
MicrosoftGraphOnenoteOperation.withStatus(MicrosoftGraphOperationStatus status)Parameters: