Class SynchronizationTemplate

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

@Generated("com.microsoft.kiota") public class SynchronizationTemplate extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • SynchronizationTemplate

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

    • createFromDiscriminatorValue

      @Nonnull public static SynchronizationTemplate 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 SynchronizationTemplate
    • getApplicationId

      @Nullable public UUID getApplicationId()
      Gets the applicationId property value. Identifier of the application this template belongs to.
      Returns:
      a UUID
    • getDefault

      @Nullable public Boolean getDefault()
      Gets the default property value. true if this template is recommended to be the default for the application.
      Returns:
      a Boolean
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. Description of the template.
      Returns:
      a String
    • getDiscoverable

      @Nullable public Boolean getDiscoverable()
      Gets the discoverable property value. true if this template should appear in the collection of templates available for the application instance (service principal).
      Returns:
      a Boolean
    • getFactoryTag

      @Nullable public String getFactoryTag()
      Gets the factoryTag property value. One of the well-known factory tags supported by the synchronization engine. The factoryTag tells the synchronization engine which implementation to use when processing jobs based on this template.
      Returns:
      a String
    • 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>>
    • getMetadata

      @Nullable public List<SynchronizationMetadataEntry> getMetadata()
      Gets the metadata property value. Additional extension properties. Unless mentioned explicitly, metadata values should not be changed.
      Returns:
      a List<SynchronizationMetadataEntry>
    • getSchema

      @Nullable public SynchronizationSchema getSchema()
      Gets the schema property value. Default synchronization schema for the jobs based on this template.
      Returns:
      a SynchronizationSchema
    • 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
    • setApplicationId

      public void setApplicationId(@Nullable UUID value)
      Sets the applicationId property value. Identifier of the application this template belongs to.
      Parameters:
      value - Value to set for the applicationId property.
    • setDefault

      public void setDefault(@Nullable Boolean value)
      Sets the default property value. true if this template is recommended to be the default for the application.
      Parameters:
      value - Value to set for the default property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. Description of the template.
      Parameters:
      value - Value to set for the description property.
    • setDiscoverable

      public void setDiscoverable(@Nullable Boolean value)
      Sets the discoverable property value. true if this template should appear in the collection of templates available for the application instance (service principal).
      Parameters:
      value - Value to set for the discoverable property.
    • setFactoryTag

      public void setFactoryTag(@Nullable String value)
      Sets the factoryTag property value. One of the well-known factory tags supported by the synchronization engine. The factoryTag tells the synchronization engine which implementation to use when processing jobs based on this template.
      Parameters:
      value - Value to set for the factoryTag property.
    • setMetadata

      public void setMetadata(@Nullable List<SynchronizationMetadataEntry> value)
      Sets the metadata property value. Additional extension properties. Unless mentioned explicitly, metadata values should not be changed.
      Parameters:
      value - Value to set for the metadata property.
    • setSchema

      public void setSchema(@Nullable SynchronizationSchema value)
      Sets the schema property value. Default synchronization schema for the jobs based on this template.
      Parameters:
      value - Value to set for the schema property.