Class SharePointMigrationJobCancelledEvent

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.SharePointMigrationEvent
com.microsoft.graph.models.SharePointMigrationJobCancelledEvent
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class SharePointMigrationJobCancelledEvent extends SharePointMigrationEvent implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static SharePointMigrationJobCancelledEvent createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a SharePointMigrationJobCancelledEvent
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class SharePointMigrationEvent
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsCancelledByUser

      @Nullable public Boolean getIsCancelledByUser()
      Gets the isCancelledByUser property value. True when a user cancels the job; otherwise, false. Read-only.
      Returns:
      a Boolean
    • getTotalRetryCount

      @Nullable public Integer getTotalRetryCount()
      Gets the totalRetryCount property value. The current retry count of the job. Read-only.
      Returns:
      a Integer
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class SharePointMigrationEvent
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setIsCancelledByUser

      public void setIsCancelledByUser(@Nullable Boolean value)
      Sets the isCancelledByUser property value. True when a user cancels the job; otherwise, false. Read-only.
      Parameters:
      value - Value to set for the isCancelledByUser property.
    • setTotalRetryCount

      public void setTotalRetryCount(@Nullable Integer value)
      Sets the totalRetryCount property value. The current retry count of the job. Read-only.
      Parameters:
      value - Value to set for the totalRetryCount property.