Class OfficeClientConfiguration

    • Constructor Detail

      • OfficeClientConfiguration

        protected OfficeClientConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • getCheckinStatuses

        public com.github.davidmoten.odata.client.CollectionPage<OfficeClientCheckinStatus> getCheckinStatuses()
      • getCheckinStatuses

        public com.github.davidmoten.odata.client.CollectionPage<OfficeClientCheckinStatus> getCheckinStatuses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • 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 a StreamUploader which can be used to upload the stream to the policyPayload property, 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 a StreamUploaderChunked which can be used to upload the stream to the policyPayload property, 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 a StreamUploader which can be used to upload the stream to the policyPayload property, 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 a StreamUploaderChunked which can be used to upload the stream to the policyPayload property, 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 a StreamUploader which can be used to upload the stream to the policyPayload property, 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 a StreamUploaderChunked which can be used to upload the stream to the policyPayload property, 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)
      • 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 a StreamUploader which can be used to upload the stream to the userPreferencePayload property, 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 a StreamUploaderChunked which can be used to upload the stream to the userPreferencePayload property, 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 a StreamUploader which can be used to upload the stream to the userPreferencePayload property, 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 a StreamUploaderChunked which can be used to upload the stream to the userPreferencePayload property, 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 a StreamUploader which can be used to upload the stream to the userPreferencePayload property, 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 a StreamUploaderChunked which can be used to upload the stream to the userPreferencePayload property, 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)
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public OfficeClientConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public OfficeClientConfiguration put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected