Class ManagedAndroidLobApp

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

    public class ManagedAndroidLobApp
    extends ManagedMobileLobApp
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Contains properties and inherited properties for Managed Android Line Of Business apps.”
    • Constructor Detail

      • ManagedAndroidLobApp

        protected ManagedAndroidLobApp()
    • Method Detail

      • odataTypeName

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

        public static ManagedAndroidLobApp.Builder builderManagedAndroidLobApp()
        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
      • 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 ManagedMobileLobApp
      • postInject

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

        public Optional<AndroidMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
        “The value for the minimum applicable operating system.”
        Returns:
        property minimumSupportedOperatingSystem
      • withMinimumSupportedOperatingSystem

        public ManagedAndroidLobApp withMinimumSupportedOperatingSystem​(AndroidMinimumOperatingSystem minimumSupportedOperatingSystem)
        Returns an immutable copy of this with just the minimumSupportedOperatingSystem 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 value for the minimum applicable operating system.”

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

        public Optional<String> getPackageId()
        “The package identifier.”
        Returns:
        property packageId
      • withPackageId

        public ManagedAndroidLobApp withPackageId​(String packageId)
        Returns an immutable copy of this with just the packageId 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 package identifier.”

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

        public Optional<String> getVersionCode()
        “The version code of managed Android Line of Business (LoB) app.”
        Returns:
        property versionCode
      • withVersionCode

        public ManagedAndroidLobApp withVersionCode​(String versionCode)
        Returns an immutable copy of this with just the versionCode 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 version code of managed Android Line of Business (LoB) app.”

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

        public Optional<String> getVersionName()
        “The version name of managed Android Line of Business (LoB) app.”
        Returns:
        property versionName
      • withVersionName

        public ManagedAndroidLobApp withVersionName​(String versionName)
        Returns an immutable copy of this with just the versionName 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 version name of managed Android Line of Business (LoB) app.”

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

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

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