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
  • Constructor Details

    • SynchronizationJob

      public SynchronizationJob()
      Instantiates a new SynchronizationJob and 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

      @Nullable public BulkUpload 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getSchedule

      @Nullable public SynchronizationSchedule getSchedule()
      Gets the schedule property value. Schedule used to run the job. Read-only.
      Returns:
      a SynchronizationSchedule
    • getSchema

      @Nullable public SynchronizationSchema getSchema()
      Gets the schema property value. The synchronization schema configured for the job.
      Returns:
      a SynchronizationSchema
    • getStatus

      @Nullable public SynchronizationStatus 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

      @Nullable public List<KeyValuePair> getSynchronizationJobSettings()
      Gets the synchronizationJobSettings property value. Settings associated with the job. Some settings are inherited from the template.
      Returns:
      a List<KeyValuePair>
    • getTemplateId

      @Nullable public String 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setBulkUpload

      public void setBulkUpload(@Nullable BulkUpload value)
      Sets the bulkUpload property value. The bulk upload operation for the job.
      Parameters:
      value - Value to set for the bulkUpload property.
    • setSchedule

      public void setSchedule(@Nullable SynchronizationSchedule value)
      Sets the schedule property value. Schedule used to run the job. Read-only.
      Parameters:
      value - Value to set for the schedule property.
    • setSchema

      public void setSchema(@Nullable SynchronizationSchema value)
      Sets the schema property value. The synchronization schema configured for the job.
      Parameters:
      value - Value to set for the schema property.
    • setStatus

      public void setStatus(@Nullable SynchronizationStatus value)
      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

      public void setSynchronizationJobSettings(@Nullable List<KeyValuePair> value)
      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

      public void setTemplateId(@Nullable String value)
      Sets the templateId property value. Identifier of the synchronization template this job is based on.
      Parameters:
      value - Value to set for the templateId property.