Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SynchronizationStatuscreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.getCode()Gets the code property value.Gets the countSuccessiveCompleteFailures property value.Gets the escrowsPruned property value.The deserialization information for the current modelGets the lastExecution property value.Gets the lastSuccessfulExecution property value.Gets the lastSuccessfulExecutionWithExports property value.Gets the @odata.type property value.Gets the progress property value.Gets the quarantine property value.Gets the steadyStateFirstAchievedTime property value.Gets the steadyStateLastAchievedTime property value.Gets the synchronizedEntryCountByType property value.Gets the troubleshootingUrl property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetCode(SynchronizationStatusCode value) Sets the code property value.voidSets the countSuccessiveCompleteFailures property value.voidsetEscrowsPruned(Boolean value) Sets the escrowsPruned property value.voidSets the lastExecution property value.voidSets the lastSuccessfulExecution property value.voidSets the lastSuccessfulExecutionWithExports property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetProgress(List<SynchronizationProgress> value) Sets the progress property value.voidSets the quarantine property value.voidSets the steadyStateFirstAchievedTime property value.voidSets the steadyStateLastAchievedTime property value.voidSets the synchronizedEntryCountByType property value.voidsetTroubleshootingUrl(String value) Sets the troubleshootingUrl property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
SynchronizationStatus
public SynchronizationStatus()Instantiates a newSynchronizationStatusand 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
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getCode
Gets the code property value. The code property- Returns:
- a
SynchronizationStatusCode
-
getCountSuccessiveCompleteFailures
Gets the countSuccessiveCompleteFailures property value. Number of consecutive times this job failed.- Returns:
- a
Long
-
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 -
getLastExecution
Gets the lastExecution property value. Details of the last execution of the job.- Returns:
- a
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
Gets the lastSuccessfulExecutionWithExports property value. Details of the last execution of the job, which exported objects into the target directory.- Returns:
- a
SynchronizationTaskExecution
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getProgress
Gets the progress property value. Details of the progress of a job toward completion.- Returns:
- a
List<SynchronizationProgress>
-
getQuarantine
Gets the quarantine property value. If job is in quarantine, quarantine details.- Returns:
- a
SynchronizationQuarantine
-
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
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
Gets the synchronizedEntryCountByType property value. Count of synchronized objects, listed by object type.- Returns:
- a
List<StringKeyLongValuePair>
-
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
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
Sets the code property value. The code property- Parameters:
value- Value to set for the code property.
-
setCountSuccessiveCompleteFailures
Sets the countSuccessiveCompleteFailures property value. Number of consecutive times this job failed.- Parameters:
value- Value to set for the countSuccessiveCompleteFailures property.
-
setEscrowsPruned
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
Sets the lastExecution property value. Details of the last execution of the job.- Parameters:
value- Value to set for the lastExecution property.
-
setLastSuccessfulExecution
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
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
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setProgress
Sets the progress property value. Details of the progress of a job toward completion.- Parameters:
value- Value to set for the progress property.
-
setQuarantine
Sets the quarantine property value. If job is in quarantine, quarantine details.- Parameters:
value- Value to set for the quarantine property.
-
setSteadyStateFirstAchievedTime
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
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
Sets the synchronizedEntryCountByType property value. Count of synchronized objects, listed by object type.- Parameters:
value- Value to set for the synchronizedEntryCountByType property.
-
setTroubleshootingUrl
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.
-