Class WindowsAppX

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

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

      • identityName

        protected String identityName
      • identityPublisherHash

        protected String identityPublisherHash
      • identityResourceIdentifier

        protected String identityResourceIdentifier
      • identityVersion

        protected String identityVersion
      • isBundle

        protected Boolean isBundle
    • Constructor Detail

      • WindowsAppX

        protected WindowsAppX()
    • Method Detail

      • odataTypeName

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

        public static WindowsAppX.Builder builderWindowsAppX()
        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) on which this app can run. Possible values are: ` none`, `x86`, `x64`, `arm`, `neutral`; default value is `none`.”
        Returns:
        property applicableArchitectures
      • withApplicableArchitectures

        public WindowsAppX 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) on which this app can run. 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
      • getIdentityName

        public Optional<String> getIdentityName()
        “The identity name of the uploaded app package. For example: "Contoso.DemoApp".”
        Returns:
        property identityName
      • withIdentityName

        public WindowsAppX 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 uploaded app package. 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 uploaded app package. This is the hash of the publisher from the manifest. For example: "AB82CD0XYZ".”
        Returns:
        property identityPublisherHash
      • withIdentityPublisherHash

        public WindowsAppX 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 uploaded app package. This is the hash of the publisher from the manifest. 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 uploaded app package. For example: " TestResourceId".”
        Returns:
        property identityResourceIdentifier
      • withIdentityResourceIdentifier

        public WindowsAppX 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 uploaded app package. 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 uploaded app package. For example: "1.0.0.0".”
        Returns:
        property identityVersion
      • withIdentityVersion

        public WindowsAppX 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 uploaded app package. 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()
        “When TRUE, indicates that the app is a bundle. When FALSE, indicates that the app is not a bundle. By default, property is set to FALSE.”
        Returns:
        property isBundle
      • withIsBundle

        public WindowsAppX 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.

        “When TRUE, indicates that the app is a bundle. When FALSE, indicates that the app is not a bundle. By default, property is set to FALSE.”

        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 operating system. Valid values for a WindowsAppX app include `v8_0`, `v8_1` and `v10_0`. If the app is a bundle, the minimum supported OS has to be at least `v8_1`.”
        Returns:
        property minimumSupportedOperatingSystem
      • withMinimumSupportedOperatingSystem

        public WindowsAppX 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 operating system. Valid values for a WindowsAppX app include `v8_0`, `v8_1` and `v10_0`. If the app is a bundle, the minimum supported OS has to be at least `v8_1`.”

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