MicrosoftGraphOnenoteOperation Class

public final class MicrosoftGraphOnenoteOperation
extends MicrosoftGraphOperation

onenoteOperation.

Constructor Summary

Constructor Description
MicrosoftGraphOnenoteOperation()

Creates an instance of MicrosoftGraphOnenoteOperation class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: onenoteOperation.

MicrosoftGraphOnenoteOperationError error()

Get the error property: onenoteOperationError.

String percentComplete()

Get the percentComplete property: The operation percent complete if the operation is still in running status.

String resourceId()

Get the resourceId property: The resource id.

String resourceLocation()

Get the resourceLocation property: The resource URI for the object.

void validate()

Validates the instance.

MicrosoftGraphOnenoteOperation withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: onenoteOperation.

MicrosoftGraphOnenoteOperation withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The start time of the operation.

MicrosoftGraphOnenoteOperation withError(MicrosoftGraphOnenoteOperationError error)

Set the error property: onenoteOperationError.

MicrosoftGraphOnenoteOperation withId(String id)

Set the id property: Read-only.

MicrosoftGraphOnenoteOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)

Set the lastActionDateTime property: The time of the last action of the operation.

MicrosoftGraphOnenoteOperation withPercentComplete(String percentComplete)

Set the percentComplete property: The operation percent complete if the operation is still in running status.

MicrosoftGraphOnenoteOperation withResourceId(String resourceId)

Set the resourceId property: The resource id.

MicrosoftGraphOnenoteOperation withResourceLocation(String resourceLocation)

Set the resourceLocation property: The resource URI for the object.

MicrosoftGraphOnenoteOperation withStatus(MicrosoftGraphOperationStatus status)

Set the status property: operationStatus.

Methods inherited from MicrosoftGraphEntity

id

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 additionalProperties()

Get the additionalProperties property: onenoteOperation.

Overrides:

MicrosoftGraphOnenoteOperation.additionalProperties()

Returns:

the additionalProperties value.

error

public MicrosoftGraphOnenoteOperationError error()

Get the error property: onenoteOperationError.

Returns:

the error value.

percentComplete

public String percentComplete()

Get the percentComplete property: The operation percent complete if the operation is still in running status.

Returns:

the percentComplete value.

resourceId

public String resourceId()

Get the resourceId property: The resource id.

Returns:

the resourceId value.

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:

the resourceLocation value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOnenoteOperation.validate()

withAdditionalProperties

public MicrosoftGraphOnenoteOperation withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: onenoteOperation.

Overrides:

MicrosoftGraphOnenoteOperation.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOnenoteOperation object itself.

withCreatedDateTime

public MicrosoftGraphOnenoteOperation withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The start time of the operation.

Overrides:

MicrosoftGraphOnenoteOperation.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withError

public MicrosoftGraphOnenoteOperation withError(MicrosoftGraphOnenoteOperationError error)

Set the error property: onenoteOperationError.

Parameters:

error - the error value to set.

Returns:

the MicrosoftGraphOnenoteOperation object itself.

withId

public MicrosoftGraphOnenoteOperation withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOnenoteOperation.withId(String id)

Parameters:

id

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:

lastActionDateTime

withPercentComplete

public MicrosoftGraphOnenoteOperation withPercentComplete(String percentComplete)

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.

withResourceId

public MicrosoftGraphOnenoteOperation withResourceId(String resourceId)

Set the resourceId property: The resource id.

Parameters:

resourceId - the resourceId value to set.

Returns:

the MicrosoftGraphOnenoteOperation object itself.

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:

resourceLocation - the resourceLocation value to set.

Returns:

the MicrosoftGraphOnenoteOperation object itself.

withStatus

public MicrosoftGraphOnenoteOperation withStatus(MicrosoftGraphOperationStatus status)

Set the status property: operationStatus.

Overrides:

MicrosoftGraphOnenoteOperation.withStatus(MicrosoftGraphOperationStatus status)

Parameters:

status

Applies to