Class MobileLobApp

    • Field Detail

      • committedContentVersion

        protected String committedContentVersion
      • fileName

        protected String fileName
      • size

        protected Long size
    • Constructor Detail

      • MobileLobApp

        protected MobileLobApp()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class MobileApp
      • 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 MobileApp
      • postInject

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

        public Optional<String> getCommittedContentVersion()
        “The internal committed content version.”
        Returns:
        property committedContentVersion
      • withCommittedContentVersion

        public MobileLobApp withCommittedContentVersion​(String committedContentVersion)
        Returns an immutable copy of this with just the committedContentVersion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The internal committed content version.”

        Parameters:
        committedContentVersion - new value of committedContentVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the committedContentVersion field changed
      • getFileName

        public Optional<String> getFileName()
        “The name of the main Lob application file.”
        Returns:
        property fileName
      • withFileName

        public MobileLobApp withFileName​(String fileName)
        Returns an immutable copy of this with just the fileName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The name of the main Lob application file.”

        Parameters:
        fileName - new value of fileName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the fileName field changed
      • getSize

        public Optional<Long> getSize()
        “The total size, including all uploaded files.”
        Returns:
        property size
      • withSize

        public MobileLobApp withSize​(Long size)
        Returns an immutable copy of this with just the size field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The total size, including all uploaded files.”

        Parameters:
        size - new value of size field (as defined in service metadata)
        Returns:
        immutable copy of this with just the size field changed
      • getContentVersions

        public MobileAppContentCollectionRequest getContentVersions()
        “The list of content versions for this app.”
        Returns:
        navigational property contentVersions
      • getUnmappedFields

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

        public MobileLobApp patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class MobileApp
        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 MobileLobApp 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 MobileApp
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected