Package com.microsoft.graph.models
Class SynchronizationJob
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.SynchronizationJob
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SynchronizationJob
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SynchronizationJobcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the bulkUpload property value.The deserialization information for the current modelGets the schedule property value.Gets the schema property value.Gets the status property value.Gets the synchronizationJobSettings property value.Gets the templateId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetBulkUpload(BulkUpload value) Sets the bulkUpload property value.voidSets the schedule property value.voidsetSchema(SynchronizationSchema value) Sets the schema property value.voidsetStatus(SynchronizationStatus value) Sets the status property value.voidSets the synchronizationJobSettings property value.voidsetTemplateId(String value) Sets the templateId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SynchronizationJob
public SynchronizationJob()Instantiates a newSynchronizationJoband sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SynchronizationJob 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
SynchronizationJob
-
getBulkUpload
Gets the bulkUpload property value. The bulk upload operation for the job.- Returns:
- a
BulkUpload
-
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 classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getSchedule
Gets the schedule property value. Schedule used to run the job. Read-only.- Returns:
- a
SynchronizationSchedule
-
getSchema
Gets the schema property value. The synchronization schema configured for the job.- Returns:
- a
SynchronizationSchema
-
getStatus
Gets the status property value. Status of the job, which includes when the job was last run, current job state, and errors.- Returns:
- a
SynchronizationStatus
-
getSynchronizationJobSettings
Gets the synchronizationJobSettings property value. Settings associated with the job. Some settings are inherited from the template.- Returns:
- a
List<KeyValuePair>
-
getTemplateId
Gets the templateId property value. Identifier of the synchronization template this job is based on.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setBulkUpload
Sets the bulkUpload property value. The bulk upload operation for the job.- Parameters:
value- Value to set for the bulkUpload property.
-
setSchedule
Sets the schedule property value. Schedule used to run the job. Read-only.- Parameters:
value- Value to set for the schedule property.
-
setSchema
Sets the schema property value. The synchronization schema configured for the job.- Parameters:
value- Value to set for the schema property.
-
setStatus
Sets the status property value. Status of the job, which includes when the job was last run, current job state, and errors.- Parameters:
value- Value to set for the status property.
-
setSynchronizationJobSettings
Sets the synchronizationJobSettings property value. Settings associated with the job. Some settings are inherited from the template.- Parameters:
value- Value to set for the synchronizationJobSettings property.
-
setTemplateId
Sets the templateId property value. Identifier of the synchronization template this job is based on.- Parameters:
value- Value to set for the templateId property.
-