Package odata.msgraph.client.entity
Class SynchronizationJob
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.SynchronizationJob
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SynchronizationJob extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSynchronizationJob.Builder
-
Field Summary
Fields Modifier and Type Field Description protected SynchronizationSchedulescheduleprotected SynchronizationStatusstatusprotected List<KeyValuePair>synchronizationJobSettingsprotected StringsynchronizationJobSettingsNextLinkprotected StringtemplateId-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSynchronizationJob()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SynchronizationJob.BuilderbuilderSynchronizationJob()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()Optional<SynchronizationSchedule>getSchedule()SynchronizationSchemaRequestgetSchema()Optional<SynchronizationStatus>getStatus()com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getSynchronizationJobSettings()com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getSynchronizationJobSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getTemplateId()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SynchronizationJobpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.com.github.davidmoten.odata.client.ActionRequestNoReturnpause()voidpostInject(boolean addKeysToContextPath)com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<StringKeyStringValuePair>provisionOnDemand(List<SynchronizationJobApplicationParameters> parameters)SynchronizationJobput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnrestart(SynchronizationJobRestartCriteria criteria)com.github.davidmoten.odata.client.ActionRequestNoReturnstart()StringtoString()com.github.davidmoten.odata.client.ActionRequestNoReturnvalidateCredentials(String applicationIdentifier, String templateId, Boolean useSavedCredentials, List<SynchronizationSecretKeyStringValuePair> credentials)SynchronizationJobwithSchedule(SynchronizationSchedule schedule)SynchronizationJobwithStatus(SynchronizationStatus status)SynchronizationJobwithSynchronizationJobSettings(List<KeyValuePair> synchronizationJobSettings)SynchronizationJobwithTemplateId(String templateId)SynchronizationJobwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
schedule
protected SynchronizationSchedule schedule
-
status
protected SynchronizationStatus status
-
synchronizationJobSettings
protected List<KeyValuePair> synchronizationJobSettings
-
synchronizationJobSettingsNextLink
protected String synchronizationJobSettingsNextLink
-
templateId
protected String templateId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSynchronizationJob
public static SynchronizationJob.Builder builderSynchronizationJob()
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
-
getSchedule
public Optional<SynchronizationSchedule> getSchedule()
-
withSchedule
public SynchronizationJob withSchedule(SynchronizationSchedule schedule)
-
getStatus
public Optional<SynchronizationStatus> getStatus()
-
withStatus
public SynchronizationJob withStatus(SynchronizationStatus status)
-
getSynchronizationJobSettings
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getSynchronizationJobSettings()
-
withSynchronizationJobSettings
public SynchronizationJob withSynchronizationJobSettings(List<KeyValuePair> synchronizationJobSettings)
-
getSynchronizationJobSettings
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getSynchronizationJobSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withTemplateId
public SynchronizationJob withTemplateId(String templateId)
-
withUnmappedField
public SynchronizationJob withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getSchema
public SynchronizationSchemaRequest getSchema()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public SynchronizationJob patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SynchronizationJob put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
pause
public com.github.davidmoten.odata.client.ActionRequestNoReturn pause()
-
provisionOnDemand
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<StringKeyStringValuePair> provisionOnDemand(List<SynchronizationJobApplicationParameters> parameters)
-
restart
public com.github.davidmoten.odata.client.ActionRequestNoReturn restart(SynchronizationJobRestartCriteria criteria)
-
start
public com.github.davidmoten.odata.client.ActionRequestNoReturn start()
-
validateCredentials
public com.github.davidmoten.odata.client.ActionRequestNoReturn validateCredentials(String applicationIdentifier, String templateId, Boolean useSavedCredentials, List<SynchronizationSecretKeyStringValuePair> credentials)
-
-