Class WindowsPhone81AppX

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    WindowsPhone81AppXBundle

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

      • identityName

        protected String identityName
      • identityPublisherHash

        protected String identityPublisherHash
      • identityResourceIdentifier

        protected String identityResourceIdentifier
      • identityVersion

        protected String identityVersion
      • phoneProductIdentifier

        protected String phoneProductIdentifier
      • phonePublisherId

        protected String phonePublisherId
    • Constructor Detail

      • WindowsPhone81AppX

        protected WindowsPhone81AppX()
    • Method Detail

      • odataTypeName

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

        public static WindowsPhone81AppX.Builder builderWindowsPhone81AppX()
        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.”
        Returns:
        property applicableArchitectures
      • withApplicableArchitectures

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

        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.”
        Returns:
        property identityName
      • withIdentityName

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

        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.”
        Returns:
        property identityPublisherHash
      • withIdentityPublisherHash

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

        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.”
        Returns:
        property identityResourceIdentifier
      • withIdentityResourceIdentifier

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

        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.”
        Returns:
        property identityVersion
      • withIdentityVersion

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

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

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

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

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

        public Optional<String> getPhoneProductIdentifier()
        “The Phone Product Identifier.”
        Returns:
        property phoneProductIdentifier
      • withPhoneProductIdentifier

        public WindowsPhone81AppX withPhoneProductIdentifier​(String phoneProductIdentifier)
        Returns an immutable copy of this with just the phoneProductIdentifier 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 Phone Product Identifier.”

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

        public Optional<String> getPhonePublisherId()
        “The Phone Publisher Id.”
        Returns:
        property phonePublisherId
      • withPhonePublisherId

        public WindowsPhone81AppX withPhonePublisherId​(String phonePublisherId)
        Returns an immutable copy of this with just the phonePublisherId 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 Phone Publisher Id.”

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