Class AppListItem

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

    public class AppListItem
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Represents an app in the list of managed applications”
    • 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
      • appId

        protected String appId
      • appStoreUrl

        protected String appStoreUrl
      • publisher

        protected String publisher
    • Constructor Detail

      • AppListItem

        protected AppListItem()
    • Method Detail

      • odataTypeName

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

        public Optional<String> getAppId()
        “The application or bundle identifier of the application”
        Returns:
        property appId
      • withAppId

        public AppListItem withAppId​(String appId)
        Returns an immutable copy of this with just the appId 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 application or bundle identifier of the application”

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

        public Optional<String> getAppStoreUrl()
        “The Store URL of the application”
        Returns:
        property appStoreUrl
      • withAppStoreUrl

        public AppListItem withAppStoreUrl​(String appStoreUrl)
        Returns an immutable copy of this with just the appStoreUrl 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 Store URL of the application”

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

        public Optional<String> getName()
        “The application name”
        Returns:
        property name
      • withName

        public AppListItem withName​(String name)
        Returns an immutable copy of this with just the name 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 application name”

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

        public Optional<String> getPublisher()
        “The publisher of the application”
        Returns:
        property publisher
      • withPublisher

        public AppListItem withPublisher​(String publisher)
        Returns an immutable copy of this with just the publisher 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 publisher of the application”

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