Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SynchronizationTemplatecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the applicationId property value.Gets the default property value.Gets the description property value.Gets the discoverable property value.Gets the factoryTag property value.The deserialization information for the current modelGets the metadata property value.Gets the schema property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetApplicationId(UUID value) Sets the applicationId property value.voidsetDefault(Boolean value) Sets the default property value.voidsetDescription(String value) Sets the description property value.voidsetDiscoverable(Boolean value) Sets the discoverable property value.voidsetFactoryTag(String value) Sets the factoryTag property value.voidSets the metadata property value.voidsetSchema(SynchronizationSchema value) Sets the schema property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SynchronizationTemplate
public SynchronizationTemplate()Instantiates a newSynchronizationTemplateand 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
Gets the applicationId property value. Identifier of the application this template belongs to.- Returns:
- a
UUID
-
getDefault
Gets the default property value. true if this template is recommended to be the default for the application.- Returns:
- a
Boolean
-
getDescription
Gets the description property value. Description of the template.- Returns:
- a
String
-
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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getMetadata
Gets the metadata property value. Additional extension properties. Unless mentioned explicitly, metadata values should not be changed.- Returns:
- a
List<SynchronizationMetadataEntry>
-
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 -
setApplicationId
Sets the applicationId property value. Identifier of the application this template belongs to.- Parameters:
value- Value to set for the applicationId property.
-
setDefault
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
Sets the description property value. Description of the template.- Parameters:
value- Value to set for the description property.
-
setDiscoverable
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
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
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
Sets the schema property value. Default synchronization schema for the jobs based on this template.- Parameters:
value- Value to set for the schema property.
-