Class SharePointMigrationJobProgressEvent

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

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

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static SharePointMigrationJobProgressEvent 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 SharePointMigrationJobProgressEvent
    • getBytesProcessed

      @Nullable public Long getBytesProcessed()
      Gets the bytesProcessed property value. The number of bytes processed. Read-only.
      Returns:
      a Long
    • getBytesProcessedOnlyCurrentVersion

      @Nullable public Long getBytesProcessedOnlyCurrentVersion()
      Gets the bytesProcessedOnlyCurrentVersion property value. The number of bytes processed with version history excluded. Read-only.
      Returns:
      a Long
    • getCpuDurationMs

      @Nullable public Long getCpuDurationMs()
      Gets the cpuDurationMs property value. CPU duration in milliseconds. Read-only.
      Returns:
      a Long
    • 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>>
    • getFilesProcessed

      @Nullable public Long getFilesProcessed()
      Gets the filesProcessed property value. The number of files processed. Read-only.
      Returns:
      a Long
    • getFilesProcessedOnlyCurrentVersion

      @Nullable public Long getFilesProcessedOnlyCurrentVersion()
      Gets the filesProcessedOnlyCurrentVersion property value. The number of files processed with version history excluded. Read-only.
      Returns:
      a Long
    • getIsCompleted

      @Nullable public Boolean getIsCompleted()
      Gets the isCompleted property value. True if the job status is End. False if the job is In progress. Read-only.
      Returns:
      a Boolean
    • getLastProcessedObjectId

      @Nullable public String getLastProcessedObjectId()
      Gets the lastProcessedObjectId property value. The unique identifier of the last object processed. Read-only.
      Returns:
      a String
    • getObjectsProcessed

      @Nullable public Long getObjectsProcessed()
      Gets the objectsProcessed property value. The number of objects processed. Read-only.
      Returns:
      a Long
    • getSqlDurationMs

      @Nullable public Long getSqlDurationMs()
      Gets the sqlDurationMs property value. SQL duration in milliseconds. Read-only.
      Returns:
      a Long
    • getSqlQueryCount

      @Nullable public Long getSqlQueryCount()
      Gets the sqlQueryCount property value. SQL query count. Read-only.
      Returns:
      a Long
    • getTotalDurationMs

      @Nullable public Long getTotalDurationMs()
      Gets the totalDurationMs property value. Total duration time in milliseconds. Read-only.
      Returns:
      a Long
    • getTotalErrors

      @Nullable public Long getTotalErrors()
      Gets the totalErrors property value. Total errors. Read-only.
      Returns:
      a Long
    • getTotalExpectedBytes

      @Nullable public Long getTotalExpectedBytes()
      Gets the totalExpectedBytes property value. Total bytes to be processed. Read-only.
      Returns:
      a Long
    • getTotalExpectedObjects

      @Nullable public Long getTotalExpectedObjects()
      Gets the totalExpectedObjects property value. The number of objects to process. Read-only.
      Returns:
      a Long
    • getTotalRetryCount

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

      @Nullable public Long getTotalWarnings()
      Gets the totalWarnings property value. Total warnings. Read-only.
      Returns:
      a Long
    • getWaitTimeOnSqlThrottlingMs

      @Nullable public Long getWaitTimeOnSqlThrottlingMs()
      Gets the waitTimeOnSqlThrottlingMs property value. Waiting time due to SQL throttling, in milliseconds. Read-only.
      Returns:
      a Long
    • 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
    • setBytesProcessed

      public void setBytesProcessed(@Nullable Long value)
      Sets the bytesProcessed property value. The number of bytes processed. Read-only.
      Parameters:
      value - Value to set for the bytesProcessed property.
    • setBytesProcessedOnlyCurrentVersion

      public void setBytesProcessedOnlyCurrentVersion(@Nullable Long value)
      Sets the bytesProcessedOnlyCurrentVersion property value. The number of bytes processed with version history excluded. Read-only.
      Parameters:
      value - Value to set for the bytesProcessedOnlyCurrentVersion property.
    • setCpuDurationMs

      public void setCpuDurationMs(@Nullable Long value)
      Sets the cpuDurationMs property value. CPU duration in milliseconds. Read-only.
      Parameters:
      value - Value to set for the cpuDurationMs property.
    • setFilesProcessed

      public void setFilesProcessed(@Nullable Long value)
      Sets the filesProcessed property value. The number of files processed. Read-only.
      Parameters:
      value - Value to set for the filesProcessed property.
    • setFilesProcessedOnlyCurrentVersion

      public void setFilesProcessedOnlyCurrentVersion(@Nullable Long value)
      Sets the filesProcessedOnlyCurrentVersion property value. The number of files processed with version history excluded. Read-only.
      Parameters:
      value - Value to set for the filesProcessedOnlyCurrentVersion property.
    • setIsCompleted

      public void setIsCompleted(@Nullable Boolean value)
      Sets the isCompleted property value. True if the job status is End. False if the job is In progress. Read-only.
      Parameters:
      value - Value to set for the isCompleted property.
    • setLastProcessedObjectId

      public void setLastProcessedObjectId(@Nullable String value)
      Sets the lastProcessedObjectId property value. The unique identifier of the last object processed. Read-only.
      Parameters:
      value - Value to set for the lastProcessedObjectId property.
    • setObjectsProcessed

      public void setObjectsProcessed(@Nullable Long value)
      Sets the objectsProcessed property value. The number of objects processed. Read-only.
      Parameters:
      value - Value to set for the objectsProcessed property.
    • setSqlDurationMs

      public void setSqlDurationMs(@Nullable Long value)
      Sets the sqlDurationMs property value. SQL duration in milliseconds. Read-only.
      Parameters:
      value - Value to set for the sqlDurationMs property.
    • setSqlQueryCount

      public void setSqlQueryCount(@Nullable Long value)
      Sets the sqlQueryCount property value. SQL query count. Read-only.
      Parameters:
      value - Value to set for the sqlQueryCount property.
    • setTotalDurationMs

      public void setTotalDurationMs(@Nullable Long value)
      Sets the totalDurationMs property value. Total duration time in milliseconds. Read-only.
      Parameters:
      value - Value to set for the totalDurationMs property.
    • setTotalErrors

      public void setTotalErrors(@Nullable Long value)
      Sets the totalErrors property value. Total errors. Read-only.
      Parameters:
      value - Value to set for the totalErrors property.
    • setTotalExpectedBytes

      public void setTotalExpectedBytes(@Nullable Long value)
      Sets the totalExpectedBytes property value. Total bytes to be processed. Read-only.
      Parameters:
      value - Value to set for the totalExpectedBytes property.
    • setTotalExpectedObjects

      public void setTotalExpectedObjects(@Nullable Long value)
      Sets the totalExpectedObjects property value. The number of objects to process. Read-only.
      Parameters:
      value - Value to set for the totalExpectedObjects 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.
    • setTotalWarnings

      public void setTotalWarnings(@Nullable Long value)
      Sets the totalWarnings property value. Total warnings. Read-only.
      Parameters:
      value - Value to set for the totalWarnings property.
    • setWaitTimeOnSqlThrottlingMs

      public void setWaitTimeOnSqlThrottlingMs(@Nullable Long value)
      Sets the waitTimeOnSqlThrottlingMs property value. Waiting time due to SQL throttling, in milliseconds. Read-only.
      Parameters:
      value - Value to set for the waitTimeOnSqlThrottlingMs property.