Package odata.msgraph.client.beta.entity
Class OfficeClientConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.OfficeClientConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
WindowsOfficeClientConfiguration,WindowsOfficeClientSecurityConfiguration
public class OfficeClientConfiguration extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
Fields Modifier and Type Field Description protected List<OfficeClientCheckinStatus>checkinStatusesprotected StringcheckinStatusesNextLinkprotected Stringdescriptionprotected StringdisplayNameprotected StringpolicyPayloadprotected Integerpriorityprotected OfficeUserCheckinSummaryuserCheckinSummaryprotected StringuserPreferencePayload-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOfficeClientConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<OfficeClientConfigurationAssignment>assign(List<OfficeClientConfigurationAssignment> officeConfigurationAssignments)OfficeClientConfigurationAssignmentCollectionRequestgetAssignments()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<OfficeClientCheckinStatus>getCheckinStatuses()com.github.davidmoten.odata.client.CollectionPage<OfficeClientCheckinStatus>getCheckinStatuses(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getDescription()Optional<String>getDisplayName()Optional<com.github.davidmoten.odata.client.StreamProvider>getPolicyPayload()Optional<Integer>getPriority()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<OfficeUserCheckinSummary>getUserCheckinSummary()Optional<com.github.davidmoten.odata.client.StreamProvider>getUserPreferencePayload()StringodataTypeName()OfficeClientConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>patchChunkedPolicyPayload()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP PATCH.Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>patchChunkedUserPreferencePayload()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP PATCH.Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>patchPolicyPayload()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP PATCH.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>patchPolicyPayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>patchUserPreferencePayload()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP PATCH.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>patchUserPreferencePayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>postChunkedPolicyPayload()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP POST.Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>postChunkedUserPreferencePayload()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP POST.voidpostInject(boolean addKeysToContextPath)Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>postPolicyPayload()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP POST.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>postPolicyPayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>postUserPreferencePayload()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP POST.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>postUserPreferencePayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)OfficeClientConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>putChunkedPolicyPayload()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP PUT.Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>putChunkedUserPreferencePayload()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP PUT.Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>putPolicyPayload()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP PUT.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>putPolicyPayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>putUserPreferencePayload()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP PUT.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>putUserPreferencePayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)StringtoString()OfficeClientConfigurationwithCheckinStatuses(List<OfficeClientCheckinStatus> checkinStatuses)OfficeClientConfigurationwithDescription(String description)OfficeClientConfigurationwithDisplayName(String displayName)OfficeClientConfigurationwithPriority(Integer priority)OfficeClientConfigurationwithUnmappedField(String name, String value)OfficeClientConfigurationwithUserCheckinSummary(OfficeUserCheckinSummary userCheckinSummary)
-
-
-
Field Detail
-
checkinStatuses
protected List<OfficeClientCheckinStatus> checkinStatuses
-
checkinStatusesNextLink
protected String checkinStatusesNextLink
-
description
protected String description
-
displayName
protected String displayName
-
policyPayload
protected String policyPayload
-
priority
protected Integer priority
-
userCheckinSummary
protected OfficeUserCheckinSummary userCheckinSummary
-
userPreferencePayload
protected String userPreferencePayload
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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
-
getCheckinStatuses
public com.github.davidmoten.odata.client.CollectionPage<OfficeClientCheckinStatus> getCheckinStatuses()
-
withCheckinStatuses
public OfficeClientConfiguration withCheckinStatuses(List<OfficeClientCheckinStatus> checkinStatuses)
-
getCheckinStatuses
public com.github.davidmoten.odata.client.CollectionPage<OfficeClientCheckinStatus> getCheckinStatuses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withDescription
public OfficeClientConfiguration withDescription(String description)
-
withDisplayName
public OfficeClientConfiguration withDisplayName(String displayName)
-
getPolicyPayload
public Optional<com.github.davidmoten.odata.client.StreamProvider> getPolicyPayload()
-
putPolicyPayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> putPolicyPayload()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP PUT.- Returns:
- a StreamUploader if upload permitted
-
putChunkedPolicyPayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> putChunkedPolicyPayload()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP PUT.- Returns:
- a StreamUploaderChunked if upload permitted
-
putPolicyPayload
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> putPolicyPayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
postPolicyPayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> postPolicyPayload()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP POST.- Returns:
- a StreamUploader if upload permitted
-
postChunkedPolicyPayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> postChunkedPolicyPayload()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP POST.- Returns:
- a StreamUploaderChunked if upload permitted
-
postPolicyPayload
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> postPolicyPayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
patchPolicyPayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> patchPolicyPayload()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP PATCH.- Returns:
- a StreamUploader if upload permitted
-
patchChunkedPolicyPayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> patchChunkedPolicyPayload()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thepolicyPayloadproperty, using HTTP PATCH.- Returns:
- a StreamUploaderChunked if upload permitted
-
patchPolicyPayload
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> patchPolicyPayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
withPriority
public OfficeClientConfiguration withPriority(Integer priority)
-
getUserCheckinSummary
public Optional<OfficeUserCheckinSummary> getUserCheckinSummary()
-
withUserCheckinSummary
public OfficeClientConfiguration withUserCheckinSummary(OfficeUserCheckinSummary userCheckinSummary)
-
getUserPreferencePayload
public Optional<com.github.davidmoten.odata.client.StreamProvider> getUserPreferencePayload()
-
putUserPreferencePayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> putUserPreferencePayload()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP PUT.- Returns:
- a StreamUploader if upload permitted
-
putChunkedUserPreferencePayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> putChunkedUserPreferencePayload()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP PUT.- Returns:
- a StreamUploaderChunked if upload permitted
-
putUserPreferencePayload
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> putUserPreferencePayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
postUserPreferencePayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> postUserPreferencePayload()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP POST.- Returns:
- a StreamUploader if upload permitted
-
postChunkedUserPreferencePayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> postChunkedUserPreferencePayload()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP POST.- Returns:
- a StreamUploaderChunked if upload permitted
-
postUserPreferencePayload
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> postUserPreferencePayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
patchUserPreferencePayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> patchUserPreferencePayload()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP PATCH.- Returns:
- a StreamUploader if upload permitted
-
patchChunkedUserPreferencePayload
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> patchChunkedUserPreferencePayload()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to theuserPreferencePayloadproperty, using HTTP PATCH.- Returns:
- a StreamUploaderChunked if upload permitted
-
patchUserPreferencePayload
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> patchUserPreferencePayload(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
withUnmappedField
public OfficeClientConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public OfficeClientConfigurationAssignmentCollectionRequest getAssignments()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public OfficeClientConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public OfficeClientConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
assign
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<OfficeClientConfigurationAssignment> assign(List<OfficeClientConfigurationAssignment> officeConfigurationAssignments)
-
-