Class MacOSDmgApp

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

    public class MacOSDmgApp
    extends MobileLobApp
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Contains properties and inherited properties for the MacOS DMG (Apple Disk Image ) App.”
    • Field Detail

      • ignoreVersionDetection

        protected Boolean ignoreVersionDetection
      • includedAppsNextLink

        protected String includedAppsNextLink
      • primaryBundleId

        protected String primaryBundleId
      • primaryBundleVersion

        protected String primaryBundleVersion
    • Constructor Detail

      • MacOSDmgApp

        protected MacOSDmgApp()
    • Method Detail

      • odataTypeName

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

        public static MacOSDmgApp.Builder builderMacOSDmgApp()
        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 MobileLobApp
      • postInject

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

        public Optional<Boolean> getIgnoreVersionDetection()
        “When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE.”
        Returns:
        property ignoreVersionDetection
      • withIgnoreVersionDetection

        public MacOSDmgApp withIgnoreVersionDetection​(Boolean ignoreVersionDetection)
        Returns an immutable copy of this with just the ignoreVersionDetection 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.

        “When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSIncludedApp> getIncludedApps()
        “The list of .apps expected to be installed by the DMG (Apple Disk Image)”
        Returns:
        property includedApps
      • withIncludedApps

        public MacOSDmgApp withIncludedApps​(List<MacOSIncludedApp> includedApps)
        Returns an immutable copy of this with just the includedApps 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 list of .apps expected to be installed by the DMG (Apple Disk Image)”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSIncludedApp> getIncludedApps​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The list of .apps expected to be installed by the DMG (Apple Disk Image)”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property includedApps
      • getMinimumSupportedOperatingSystem

        public Optional<MacOSMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
        “ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.”
        Returns:
        property minimumSupportedOperatingSystem
      • withMinimumSupportedOperatingSystem

        public MacOSDmgApp withMinimumSupportedOperatingSystem​(MacOSMinimumOperatingSystem 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.

        “ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.”

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

        public Optional<String> getPrimaryBundleId()
        “The bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration.”
        Returns:
        property primaryBundleId
      • withPrimaryBundleId

        public MacOSDmgApp withPrimaryBundleId​(String primaryBundleId)
        Returns an immutable copy of this with just the primaryBundleId 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 bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration.”

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

        public Optional<String> getPrimaryBundleVersion()
        “The version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration.”
        Returns:
        property primaryBundleVersion
      • withPrimaryBundleVersion

        public MacOSDmgApp withPrimaryBundleVersion​(String primaryBundleVersion)
        Returns an immutable copy of this with just the primaryBundleVersion 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 of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration.”

        Parameters:
        primaryBundleVersion - new value of primaryBundleVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the primaryBundleVersion 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 MobileLobApp
      • patch

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