Class WindowsUniversalAppX

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

    public class WindowsUniversalAppX
    extends MobileLobApp
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Contains properties and inherited properties for Windows Universal AppX Line Of Business apps. Inherits from `mobileLobApp`.”
    • Field Detail

      • identityName

        protected String identityName
      • identityPublisherHash

        protected String identityPublisherHash
      • identityResourceIdentifier

        protected String identityResourceIdentifier
      • identityVersion

        protected String identityVersion
      • isBundle

        protected Boolean isBundle
    • Constructor Detail

      • WindowsUniversalAppX

        protected WindowsUniversalAppX()
    • Method Detail

      • odataTypeName

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

        public static WindowsUniversalAppX.Builder builderWindowsUniversalAppX()
        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
      • getApplicableArchitectures

        public Optional<WindowsArchitecture> getApplicableArchitectures()
        “The Windows architecture(s) for which this app can run on. Possible values are: `none`, `x86`, `x64`, `arm`, `neutral`; default value is `none`.”
        Returns:
        property applicableArchitectures
      • withApplicableArchitectures

        public WindowsUniversalAppX withApplicableArchitectures​(WindowsArchitecture applicableArchitectures)
        Returns an immutable copy of this with just the applicableArchitectures 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 Windows architecture(s) for which this app can run on. Possible values are: `none`, `x86`, `x64`, `arm`, `neutral`; default value is `none`.”

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

        public Optional<WindowsDeviceType> getApplicableDeviceTypes()
        “The Windows device type(s) for which this app can run on. Possible values are: ` none`, `desktop`, `mobile`, `holographic`, `team`; default value is `none`.”
        Returns:
        property applicableDeviceTypes
      • withApplicableDeviceTypes

        public WindowsUniversalAppX withApplicableDeviceTypes​(WindowsDeviceType applicableDeviceTypes)
        Returns an immutable copy of this with just the applicableDeviceTypes 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 Windows device type(s) for which this app can run on. Possible values are: ` none`, `desktop`, `mobile`, `holographic`, `team`; default value is `none`.”

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

        public Optional<String> getIdentityName()
        “The Identity Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "Contoso.DemoApp".”
        Returns:
        property identityName
      • withIdentityName

        public WindowsUniversalAppX withIdentityName​(String identityName)
        Returns an immutable copy of this with just the identityName 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 Identity Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "Contoso.DemoApp".”

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

        public Optional<String> getIdentityPublisherHash()
        “The Identity Publisher Hash of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "AB82CD0XYZ".”
        Returns:
        property identityPublisherHash
      • withIdentityPublisherHash

        public WindowsUniversalAppX withIdentityPublisherHash​(String identityPublisherHash)
        Returns an immutable copy of this with just the identityPublisherHash 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 Identity Publisher Hash of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "AB82CD0XYZ".”

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

        public Optional<String> getIdentityResourceIdentifier()
        “The Identity Resource Identifier of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "TestResourceId".”
        Returns:
        property identityResourceIdentifier
      • withIdentityResourceIdentifier

        public WindowsUniversalAppX withIdentityResourceIdentifier​(String identityResourceIdentifier)
        Returns an immutable copy of this with just the identityResourceIdentifier 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 Identity Resource Identifier of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "TestResourceId".”

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

        public Optional<String> getIdentityVersion()
        “The Identity Version of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "1.0.0.0".”
        Returns:
        property identityVersion
      • withIdentityVersion

        public WindowsUniversalAppX withIdentityVersion​(String identityVersion)
        Returns an immutable copy of this with just the identityVersion 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 Identity Version of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: "1.0.0.0".”

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

        public Optional<Boolean> getIsBundle()
        “Whether or not the app is a bundle. If TRUE, app is a bundle; if FALSE, app is not a bundle.”
        Returns:
        property isBundle
      • withIsBundle

        public WindowsUniversalAppX withIsBundle​(Boolean isBundle)
        Returns an immutable copy of this with just the isBundle 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.

        “Whether or not the app is a bundle. If TRUE, app is a bundle; if FALSE, app is not a bundle.”

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

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

        public WindowsUniversalAppX withMinimumSupportedOperatingSystem​(WindowsMinimumOperatingSystem 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 Windows 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
      • getCommittedContainedApps

        public MobileContainedAppCollectionRequest getCommittedContainedApps()
        “The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app.”
        Returns:
        navigational property committedContainedApps
      • 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 WindowsUniversalAppX 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 WindowsUniversalAppX 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