Class MicrosoftGraphOnenoteOperation


public final class MicrosoftGraphOnenoteOperation extends MicrosoftGraphOperation
onenoteOperation.
  • 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

      public String percentComplete()
      Get the percentComplete property: The operation percent complete if the operation is still in running status.
      Returns:
      the percentComplete value.
    • 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.
    • resourceId

      public String resourceId()
      Get the resourceId property: The resource id.
      Returns:
      the resourceId value.
    • 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.
    • 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.
    • 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.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: onenoteOperation.
      Overrides:
      additionalProperties in class MicrosoftGraphOperation
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphOnenoteOperation withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: onenoteOperation.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphOperation
      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:
      withCreatedDateTime in class MicrosoftGraphOperation
      Parameters:
      createdDateTime - the createdDateTime value to set.
      Returns:
      the MicrosoftGraphOperation object itself.
    • withLastActionDateTime

      public MicrosoftGraphOnenoteOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
      Set the lastActionDateTime property: The time of the last action of the operation.
      Overrides:
      withLastActionDateTime in class MicrosoftGraphOperation
      Parameters:
      lastActionDateTime - the lastActionDateTime value to set.
      Returns:
      the MicrosoftGraphOperation object itself.
    • withStatus

      Set the status property: operationStatus.
      Overrides:
      withStatus in class MicrosoftGraphOperation
      Parameters:
      status - the status value to set.
      Returns:
      the MicrosoftGraphOperation object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphOperation
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphOperation
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.