Class Report

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class Report
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Device Configuration profile History reports.”
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Report.Builder  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected String content  
      protected com.github.davidmoten.odata.client.ContextPath contextPath  
      protected String odataType  
      protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Report()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Report.Builder builder()
      Returns a builder which is used to create a new instance of this class (given that this class is immutable).
      Optional<com.github.davidmoten.odata.client.StreamProvider> getContent()  
      com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()  
      String odataTypeName()  
      Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> patchChunkedContent()
      If metadata indicate that the stream is editable then returns a StreamUploaderChunked which can be used to upload the stream to the content property, using HTTP PATCH.
      Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> patchContent()
      If metadata indicate that the stream is editable then returns a StreamUploader which can be used to upload the stream to the content property, using HTTP PATCH.
      <T extends com.github.davidmoten.odata.client.StreamUploader<T>>
      Optional<T>
      patchContent​(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)  
      Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> postChunkedContent()
      If metadata indicate that the stream is editable then returns a StreamUploaderChunked which can be used to upload the stream to the content property, using HTTP POST.
      Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> postContent()
      If metadata indicate that the stream is editable then returns a StreamUploader which can be used to upload the stream to the content property, using HTTP POST.
      <T extends com.github.davidmoten.odata.client.StreamUploader<T>>
      Optional<T>
      postContent​(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)  
      void postInject​(boolean addKeysToContextPath)  
      Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> putChunkedContent()
      If metadata indicate that the stream is editable then returns a StreamUploaderChunked which can be used to upload the stream to the content property, using HTTP PUT.
      Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> putContent()
      If metadata indicate that the stream is editable then returns a StreamUploader which can be used to upload the stream to the content property, using HTTP PUT.
      <T extends com.github.davidmoten.odata.client.StreamUploader<T>>
      Optional<T>
      putContent​(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)  
      String toString()  
      Report withUnmappedField​(String name, Object value)  
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • content

        protected String content
    • Constructor Detail

      • Report

        protected Report()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getContent

        public Optional<com.github.davidmoten.odata.client.StreamProvider> getContent()
      • postContent

        public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> postContent()
        If metadata indicate that the stream is editable then returns a StreamUploader which can be used to upload the stream to the content property, using HTTP POST.
        Returns:
        a StreamUploader if upload permitted
      • postChunkedContent

        public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> postChunkedContent()
        If metadata indicate that the stream is editable then returns a StreamUploaderChunked which can be used to upload the stream to the content property, using HTTP POST.
        Returns:
        a StreamUploaderChunked if upload permitted
      • postContent

        public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> postContent​(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
      • patchContent

        public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> patchContent()
        If metadata indicate that the stream is editable then returns a StreamUploader which can be used to upload the stream to the content property, using HTTP PATCH.
        Returns:
        a StreamUploader if upload permitted
      • patchChunkedContent

        public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> patchChunkedContent()
        If metadata indicate that the stream is editable then returns a StreamUploaderChunked which can be used to upload the stream to the content property, using HTTP PATCH.
        Returns:
        a StreamUploaderChunked if upload permitted
      • patchContent

        public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> patchContent​(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
      • putContent

        public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> putContent()
        If metadata indicate that the stream is editable then returns a StreamUploader which can be used to upload the stream to the content property, using HTTP PUT.
        Returns:
        a StreamUploader if upload permitted
      • putChunkedContent

        public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> putChunkedContent()
        If metadata indicate that the stream is editable then returns a StreamUploaderChunked which can be used to upload the stream to the content property, using HTTP PUT.
        Returns:
        a StreamUploaderChunked if upload permitted
      • putContent

        public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> putContent​(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
      • postInject

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

        public static Report.Builder builder()
        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