Class ManagedMobileLobApp

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    ManagedAndroidLobApp, ManagedIOSLobApp

    public class ManagedMobileLobApp
    extends ManagedApp
    implements com.github.davidmoten.odata.client.ODataEntityType
    “An abstract base class containing properties for all managed mobile line of business apps.”
    • Field Detail

      • committedContentVersion

        protected String committedContentVersion
      • fileName

        protected String fileName
      • size

        protected Long size
    • Constructor Detail

      • ManagedMobileLobApp

        protected ManagedMobileLobApp()
    • Method Detail

      • odataTypeName

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

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

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

        public ManagedMobileLobApp 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 ManagedMobileLobApp 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 ManagedMobileLobApp 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 ManagedApp
      • patch

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