Package com.microsoft.graph.models
Class SharePointMigrationJobPostponedEvent
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.SharePointMigrationEvent
com.microsoft.graph.models.SharePointMigrationJobPostponedEvent
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SharePointMigrationJobPostponedEvent
extends SharePointMigrationEvent
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newSharePointMigrationJobPostponedEventand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the jobsInQueue property value.Gets the nextPickupDateTime property value.Gets the reason property value.Gets the totalRetryCount property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetJobsInQueue(Long value) Sets the jobsInQueue property value.voidSets the nextPickupDateTime property value.voidSets the reason property value.voidsetTotalRetryCount(Integer value) Sets the totalRetryCount property value.Methods inherited from class com.microsoft.graph.models.SharePointMigrationEvent
getCorrelationId, getEventDateTime, getJobId, setCorrelationId, setEventDateTime, setJobIdMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SharePointMigrationJobPostponedEvent
public SharePointMigrationJobPostponedEvent()Instantiates a newSharePointMigrationJobPostponedEventand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SharePointMigrationJobPostponedEvent 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
SharePointMigrationJobPostponedEvent
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classSharePointMigrationEvent- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getJobsInQueue
Gets the jobsInQueue property value. The number of migration jobs in the queue of the current database. Read-only.- Returns:
- a
Long
-
getNextPickupDateTime
Gets the nextPickupDateTime property value. The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.- Returns:
- a
OffsetDateTime
-
getReason
Gets the reason property value. The reason for the postponement. Read-only.- Returns:
- a
String
-
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classSharePointMigrationEvent- Parameters:
writer- Serialization writer to use to serialize this model
-
setJobsInQueue
Sets the jobsInQueue property value. The number of migration jobs in the queue of the current database. Read-only.- Parameters:
value- Value to set for the jobsInQueue property.
-
setNextPickupDateTime
Sets the nextPickupDateTime property value. The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.- Parameters:
value- Value to set for the nextPickupDateTime property.
-
setReason
Sets the reason property value. The reason for the postponement. Read-only.- Parameters:
value- Value to set for the reason property.
-
setTotalRetryCount
Sets the totalRetryCount property value. The current retry count of the job. Read-only.- Parameters:
value- Value to set for the totalRetryCount property.
-