Class SynchronizationStatus

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

@Generated("com.microsoft.kiota") public class SynchronizationStatus extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • SynchronizationStatus

      public SynchronizationStatus()
      Instantiates a new SynchronizationStatus and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static SynchronizationStatus 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 SynchronizationStatus
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getCode

      @Nullable public SynchronizationStatusCode getCode()
      Gets the code property value. The code property
      Returns:
      a SynchronizationStatusCode
    • getCountSuccessiveCompleteFailures

      @Nullable public Long getCountSuccessiveCompleteFailures()
      Gets the countSuccessiveCompleteFailures property value. Number of consecutive times this job failed.
      Returns:
      a Long
    • getEscrowsPruned

      @Nullable public Boolean getEscrowsPruned()
      Gets the escrowsPruned property value. true if the job's escrows (object-level errors) were pruned during initial synchronization. Escrows can be pruned if during the initial synchronization, you reach the threshold of errors that would normally put the job in quarantine. Instead of going into quarantine, the synchronization process clears the job's errors and continues until the initial synchronization is completed. When the initial synchronization is completed, the job will pause and wait for the customer to clean up the errors.
      Returns:
      a Boolean
    • 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
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastExecution

      @Nullable public SynchronizationTaskExecution getLastExecution()
      Gets the lastExecution property value. Details of the last execution of the job.
      Returns:
      a SynchronizationTaskExecution
    • getLastSuccessfulExecution

      @Nullable public SynchronizationTaskExecution getLastSuccessfulExecution()
      Gets the lastSuccessfulExecution property value. Details of the last execution of this job, which didn't have any errors.
      Returns:
      a SynchronizationTaskExecution
    • getLastSuccessfulExecutionWithExports

      @Nullable public SynchronizationTaskExecution getLastSuccessfulExecutionWithExports()
      Gets the lastSuccessfulExecutionWithExports property value. Details of the last execution of the job, which exported objects into the target directory.
      Returns:
      a SynchronizationTaskExecution
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getProgress

      @Nullable public List<SynchronizationProgress> getProgress()
      Gets the progress property value. Details of the progress of a job toward completion.
      Returns:
      a List<SynchronizationProgress>
    • getQuarantine

      @Nullable public SynchronizationQuarantine getQuarantine()
      Gets the quarantine property value. If job is in quarantine, quarantine details.
      Returns:
      a SynchronizationQuarantine
    • getSteadyStateFirstAchievedTime

      @Nullable public OffsetDateTime getSteadyStateFirstAchievedTime()
      Gets the steadyStateFirstAchievedTime property value. The time when steady state (no more changes to the process) was first achieved. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getSteadyStateLastAchievedTime

      @Nullable public OffsetDateTime getSteadyStateLastAchievedTime()
      Gets the steadyStateLastAchievedTime property value. The time when steady state (no more changes to the process) was last achieved. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getSynchronizedEntryCountByType

      @Nullable public List<StringKeyLongValuePair> getSynchronizedEntryCountByType()
      Gets the synchronizedEntryCountByType property value. Count of synchronized objects, listed by object type.
      Returns:
      a List<StringKeyLongValuePair>
    • getTroubleshootingUrl

      @Nullable public String getTroubleshootingUrl()
      Gets the troubleshootingUrl property value. In the event of an error, the URL with the troubleshooting steps for the issue.
      Returns:
      a String
    • 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
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setCode

      public void setCode(@Nullable SynchronizationStatusCode value)
      Sets the code property value. The code property
      Parameters:
      value - Value to set for the code property.
    • setCountSuccessiveCompleteFailures

      public void setCountSuccessiveCompleteFailures(@Nullable Long value)
      Sets the countSuccessiveCompleteFailures property value. Number of consecutive times this job failed.
      Parameters:
      value - Value to set for the countSuccessiveCompleteFailures property.
    • setEscrowsPruned

      public void setEscrowsPruned(@Nullable Boolean value)
      Sets the escrowsPruned property value. true if the job's escrows (object-level errors) were pruned during initial synchronization. Escrows can be pruned if during the initial synchronization, you reach the threshold of errors that would normally put the job in quarantine. Instead of going into quarantine, the synchronization process clears the job's errors and continues until the initial synchronization is completed. When the initial synchronization is completed, the job will pause and wait for the customer to clean up the errors.
      Parameters:
      value - Value to set for the escrowsPruned property.
    • setLastExecution

      public void setLastExecution(@Nullable SynchronizationTaskExecution value)
      Sets the lastExecution property value. Details of the last execution of the job.
      Parameters:
      value - Value to set for the lastExecution property.
    • setLastSuccessfulExecution

      public void setLastSuccessfulExecution(@Nullable SynchronizationTaskExecution value)
      Sets the lastSuccessfulExecution property value. Details of the last execution of this job, which didn't have any errors.
      Parameters:
      value - Value to set for the lastSuccessfulExecution property.
    • setLastSuccessfulExecutionWithExports

      public void setLastSuccessfulExecutionWithExports(@Nullable SynchronizationTaskExecution value)
      Sets the lastSuccessfulExecutionWithExports property value. Details of the last execution of the job, which exported objects into the target directory.
      Parameters:
      value - Value to set for the lastSuccessfulExecutionWithExports property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setProgress

      public void setProgress(@Nullable List<SynchronizationProgress> value)
      Sets the progress property value. Details of the progress of a job toward completion.
      Parameters:
      value - Value to set for the progress property.
    • setQuarantine

      public void setQuarantine(@Nullable SynchronizationQuarantine value)
      Sets the quarantine property value. If job is in quarantine, quarantine details.
      Parameters:
      value - Value to set for the quarantine property.
    • setSteadyStateFirstAchievedTime

      public void setSteadyStateFirstAchievedTime(@Nullable OffsetDateTime value)
      Sets the steadyStateFirstAchievedTime property value. The time when steady state (no more changes to the process) was first achieved. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the steadyStateFirstAchievedTime property.
    • setSteadyStateLastAchievedTime

      public void setSteadyStateLastAchievedTime(@Nullable OffsetDateTime value)
      Sets the steadyStateLastAchievedTime property value. The time when steady state (no more changes to the process) was last achieved. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the steadyStateLastAchievedTime property.
    • setSynchronizedEntryCountByType

      public void setSynchronizedEntryCountByType(@Nullable List<StringKeyLongValuePair> value)
      Sets the synchronizedEntryCountByType property value. Count of synchronized objects, listed by object type.
      Parameters:
      value - Value to set for the synchronizedEntryCountByType property.
    • setTroubleshootingUrl

      public void setTroubleshootingUrl(@Nullable String value)
      Sets the troubleshootingUrl property value. In the event of an error, the URL with the troubleshooting steps for the issue.
      Parameters:
      value - Value to set for the troubleshootingUrl property.