Class MobileAppIntentAndStateDetail

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

    public class MobileAppIntentAndStateDetail
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Mobile App Intent and Install State for a given device.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • applicationId

        protected String applicationId
      • displayName

        protected String displayName
      • displayVersion

        protected String displayVersion
      • supportedDeviceTypesNextLink

        protected String supportedDeviceTypesNextLink
    • Constructor Detail

      • MobileAppIntentAndStateDetail

        protected MobileAppIntentAndStateDetail()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getApplicationId

        public Optional<String> getApplicationId()
        “MobieApp identifier.”
        Returns:
        property applicationId
      • withApplicationId

        public MobileAppIntentAndStateDetail withApplicationId​(String applicationId)
        Returns an immutable copy of this with just the applicationId 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.

        “MobieApp identifier.”

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

        public Optional<String> getDisplayName()
        “The admin provided or imported title of the app.”
        Returns:
        property displayName
      • withDisplayName

        public MobileAppIntentAndStateDetail withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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 admin provided or imported title of the app.”

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

        public Optional<String> getDisplayVersion()
        “Human readable version of the application”
        Returns:
        property displayVersion
      • withDisplayVersion

        public MobileAppIntentAndStateDetail withDisplayVersion​(String displayVersion)
        Returns an immutable copy of this with just the displayVersion 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.

        “Human readable version of the application”

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

        public Optional<ResultantAppState> getInstallState()
        “The install state of the app.”
        Returns:
        property installState
      • withInstallState

        public MobileAppIntentAndStateDetail withInstallState​(ResultantAppState installState)
        Returns an immutable copy of this with just the installState 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 install state of the app.”

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

        public Optional<MobileAppIntent> getMobileAppIntent()
        “Mobile App Intent.”
        Returns:
        property mobileAppIntent
      • withMobileAppIntent

        public MobileAppIntentAndStateDetail withMobileAppIntent​(MobileAppIntent mobileAppIntent)
        Returns an immutable copy of this with just the mobileAppIntent 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.

        “Mobile App Intent.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MobileAppSupportedDeviceType> getSupportedDeviceTypes()
        “The supported platforms for the app.”
        Returns:
        property supportedDeviceTypes
      • getSupportedDeviceTypes

        public com.github.davidmoten.odata.client.CollectionPage<MobileAppSupportedDeviceType> getSupportedDeviceTypes​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The supported platforms for the app.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property supportedDeviceTypes
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

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

        public static MobileAppIntentAndStateDetail.Builder builder()
        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