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 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()
        “A value indicating whether the app's version will be used to detect the app after it is installed on a device. Set this to true for apps that use a self- update feature. Set this to false to install the app when it is not already installed on the device, or if the deploying app's version number does not match the version that's already installed on the device.”
        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.

        “A value indicating whether the app's version will be used to detect the app after it is installed on a device. Set this to true for apps that use a self- update feature. Set this to false to install the app when it is not already installed on the device, or if the deploying app's version number does not match the version that's already installed on the device.”

        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.”
        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.”

        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.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property includedApps
      • getMinimumSupportedOperatingSystem

        public Optional<MacOSMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
        “The value for the minimum applicable operating system.”
        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.

        “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
      • getPrimaryBundleId

        public Optional<String> getPrimaryBundleId()
        “The primary CFBundleIdentifier of the DMG.”
        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 primary CFBundleIdentifier of the DMG.”

        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 primary CFBundleVersion of the DMG.”
        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 primary CFBundleVersion of the DMG.”

        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