Package odata.msgraph.client.entity
Class Synchronization
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.Synchronization
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Synchronization extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.UpdateRestrictions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSynchronization.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<SynchronizationSecretKeyStringValuePair>secretsprotected StringsecretsNextLink-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSynchronization()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnacquireAccessToken(List<SynchronizationSecretKeyStringValuePair> credentials)static Synchronization.BuilderbuilderSynchronization()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()SynchronizationJobCollectionRequestgetJobs()com.github.davidmoten.odata.client.CollectionPage<SynchronizationSecretKeyStringValuePair>getSecrets()com.github.davidmoten.odata.client.CollectionPage<SynchronizationSecretKeyStringValuePair>getSecrets(com.github.davidmoten.odata.client.HttpRequestOptions options)SynchronizationTemplateCollectionRequestgetTemplates()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Synchronizationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Synchronizationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SynchronizationwithSecrets(List<SynchronizationSecretKeyStringValuePair> secrets)SynchronizationwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
secrets
protected List<SynchronizationSecretKeyStringValuePair> secrets
-
secretsNextLink
protected String secretsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSynchronization
public static Synchronization.Builder builderSynchronization()
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
-
getSecrets
public com.github.davidmoten.odata.client.CollectionPage<SynchronizationSecretKeyStringValuePair> getSecrets()
-
withSecrets
public Synchronization withSecrets(List<SynchronizationSecretKeyStringValuePair> secrets)
-
getSecrets
public com.github.davidmoten.odata.client.CollectionPage<SynchronizationSecretKeyStringValuePair> getSecrets(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public Synchronization withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getJobs
public SynchronizationJobCollectionRequest getJobs()
-
getTemplates
public SynchronizationTemplateCollectionRequest getTemplates()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Synchronization patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Synchronization put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
acquireAccessToken
public com.github.davidmoten.odata.client.ActionRequestNoReturn acquireAccessToken(List<SynchronizationSecretKeyStringValuePair> credentials)
-
-