Package odata.msgraph.client.entity
Class SynchronizationTemplate
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.SynchronizationTemplate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SynchronizationTemplate extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSynchronizationTemplate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUIDapplicationIdprotected Booleandefault_protected Stringdescriptionprotected Booleandiscoverableprotected StringfactoryTagprotected List<SynchronizationMetadataEntry>metadataprotected StringmetadataNextLinkprotected SynchronizationSchemaschema-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSynchronizationTemplate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SynchronizationTemplate.BuilderbuilderSynchronizationTemplate()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<UUID>getApplicationId()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getDefault()Optional<String>getDescription()Optional<Boolean>getDiscoverable()Optional<String>getFactoryTag()com.github.davidmoten.odata.client.CollectionPage<SynchronizationMetadataEntry>getMetadata()com.github.davidmoten.odata.client.CollectionPage<SynchronizationMetadataEntry>getMetadata(com.github.davidmoten.odata.client.HttpRequestOptions options)SynchronizationSchemaRequestgetSchema()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SynchronizationTemplatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SynchronizationTemplateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SynchronizationTemplatewithApplicationId(UUID applicationId)SynchronizationTemplatewithDefault(Boolean default_)SynchronizationTemplatewithDescription(String description)SynchronizationTemplatewithDiscoverable(Boolean discoverable)SynchronizationTemplatewithFactoryTag(String factoryTag)SynchronizationTemplatewithMetadata(List<SynchronizationMetadataEntry> metadata)SynchronizationTemplatewithSchema(SynchronizationSchema schema)SynchronizationTemplatewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
applicationId
protected UUID applicationId
-
default_
protected Boolean default_
-
description
protected String description
-
discoverable
protected Boolean discoverable
-
factoryTag
protected String factoryTag
-
metadata
protected List<SynchronizationMetadataEntry> metadata
-
metadataNextLink
protected String metadataNextLink
-
schema
protected SynchronizationSchema schema
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSynchronizationTemplate
public static SynchronizationTemplate.Builder builderSynchronizationTemplate()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withApplicationId
public SynchronizationTemplate withApplicationId(UUID applicationId)
-
withDefault
public SynchronizationTemplate withDefault(Boolean default_)
-
withDescription
public SynchronizationTemplate withDescription(String description)
-
withDiscoverable
public SynchronizationTemplate withDiscoverable(Boolean discoverable)
-
withFactoryTag
public SynchronizationTemplate withFactoryTag(String factoryTag)
-
getMetadata
public com.github.davidmoten.odata.client.CollectionPage<SynchronizationMetadataEntry> getMetadata()
-
withMetadata
public SynchronizationTemplate withMetadata(List<SynchronizationMetadataEntry> metadata)
-
getMetadata
public com.github.davidmoten.odata.client.CollectionPage<SynchronizationMetadataEntry> getMetadata(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public SynchronizationTemplate withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getSchema
public SynchronizationSchemaRequest getSchema()
-
withSchema
public SynchronizationTemplate withSchema(SynchronizationSchema schema)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public SynchronizationTemplate patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SynchronizationTemplate put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-