Class SharePointMigrationJobErrorEvent

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static SharePointMigrationJobErrorEvent 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 SharePointMigrationJobErrorEvent
    • getError

      @Nullable public PublicError getError()
      Gets the error property value. The error property
      Returns:
      a PublicError
    • getErrorLevel

      @Nullable public SharePointMigrationJobErrorLevel getErrorLevel()
      Gets the errorLevel property value. The errorLevel property
      Returns:
      a SharePointMigrationJobErrorLevel
    • 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>>
    • getObjectId

      @Nullable public String getObjectId()
      Gets the objectId property value. The object ID. Read-only.
      Returns:
      a String
    • getObjectType

      @Nullable public SharePointMigrationObjectType getObjectType()
      Gets the objectType property value. The objectType property
      Returns:
      a SharePointMigrationObjectType
    • getObjectUrl

      @Nullable public String getObjectUrl()
      Gets the objectUrl property value. The object URL. Read-only.
      Returns:
      a String
    • 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
    • setError

      public void setError(@Nullable PublicError value)
      Sets the error property value. The error property
      Parameters:
      value - Value to set for the error property.
    • setErrorLevel

      public void setErrorLevel(@Nullable SharePointMigrationJobErrorLevel value)
      Sets the errorLevel property value. The errorLevel property
      Parameters:
      value - Value to set for the errorLevel property.
    • setObjectId

      public void setObjectId(@Nullable String value)
      Sets the objectId property value. The object ID. Read-only.
      Parameters:
      value - Value to set for the objectId property.
    • setObjectType

      public void setObjectType(@Nullable SharePointMigrationObjectType value)
      Sets the objectType property value. The objectType property
      Parameters:
      value - Value to set for the objectType property.
    • setObjectUrl

      public void setObjectUrl(@Nullable String value)
      Sets the objectUrl property value. The object URL. Read-only.
      Parameters:
      value - Value to set for the objectUrl 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.