Class AndroidManagedStoreAppConfigurationSchemaItem

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

    public class AndroidManagedStoreAppConfigurationSchemaItem
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Single configuration item inside an Android application's custom configuration schema.”
    • 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
      • defaultBoolValue

        protected Boolean defaultBoolValue
      • defaultIntValue

        protected Integer defaultIntValue
      • defaultStringArrayValue

        protected List<String> defaultStringArrayValue
      • defaultStringArrayValueNextLink

        protected String defaultStringArrayValueNextLink
      • defaultStringValue

        protected String defaultStringValue
      • description

        protected String description
      • displayName

        protected String displayName
      • parentIndex

        protected Integer parentIndex
      • schemaItemKey

        protected String schemaItemKey
      • selectionsNextLink

        protected String selectionsNextLink
    • Constructor Detail

      • AndroidManagedStoreAppConfigurationSchemaItem

        protected AndroidManagedStoreAppConfigurationSchemaItem()
    • Method Detail

      • odataTypeName

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

        public AndroidManagedStoreAppConfigurationSchemaItem withDataType​(AndroidManagedStoreAppConfigurationSchemaItemDataType dataType)
        Returns an immutable copy of this with just the dataType 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 type of value this item describes”

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

        public Optional<Boolean> getDefaultBoolValue()
        “Default value for boolean type items, if specified by the app developer”
        Returns:
        property defaultBoolValue
      • withDefaultBoolValue

        public AndroidManagedStoreAppConfigurationSchemaItem withDefaultBoolValue​(Boolean defaultBoolValue)
        Returns an immutable copy of this with just the defaultBoolValue 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.

        “Default value for boolean type items, if specified by the app developer”

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

        public Optional<Integer> getDefaultIntValue()
        “Default value for integer type items, if specified by the app developer”
        Returns:
        property defaultIntValue
      • withDefaultIntValue

        public AndroidManagedStoreAppConfigurationSchemaItem withDefaultIntValue​(Integer defaultIntValue)
        Returns an immutable copy of this with just the defaultIntValue 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.

        “Default value for integer type items, if specified by the app developer”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getDefaultStringArrayValue()
        “Default value for string array type items, if specified by the app developer”
        Returns:
        property defaultStringArrayValue
      • getDefaultStringArrayValue

        public com.github.davidmoten.odata.client.CollectionPage<String> getDefaultStringArrayValue​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Default value for string array type items, if specified by the app developer”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property defaultStringArrayValue
      • getDefaultStringValue

        public Optional<String> getDefaultStringValue()
        “Default value for string type items, if specified by the app developer”
        Returns:
        property defaultStringValue
      • withDefaultStringValue

        public AndroidManagedStoreAppConfigurationSchemaItem withDefaultStringValue​(String defaultStringValue)
        Returns an immutable copy of this with just the defaultStringValue 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.

        “Default value for string type items, if specified by the app developer”

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

        public Optional<String> getDescription()
        “Description of what the item controls within the application”
        Returns:
        property description
      • withDescription

        public AndroidManagedStoreAppConfigurationSchemaItem withDescription​(String description)
        Returns an immutable copy of this with just the description 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.

        “Description of what the item controls within the application”

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

        public Optional<String> getDisplayName()
        “Human readable name”
        Returns:
        property displayName
      • withDisplayName

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

        “Human readable name”

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

        public Optional<Integer> getIndex()
        “Unique index the application uses to maintain nested schema items”
        Returns:
        property index
      • withIndex

        public AndroidManagedStoreAppConfigurationSchemaItem withIndex​(Integer index)
        Returns an immutable copy of this with just the index 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.

        “Unique index the application uses to maintain nested schema items”

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

        public Optional<Integer> getParentIndex()
        “Index of parent schema item to track nested schema items”
        Returns:
        property parentIndex
      • withParentIndex

        public AndroidManagedStoreAppConfigurationSchemaItem withParentIndex​(Integer parentIndex)
        Returns an immutable copy of this with just the parentIndex 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.

        “Index of parent schema item to track nested schema items”

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

        public Optional<String> getSchemaItemKey()
        “Unique key the application uses to identify the item”
        Returns:
        property schemaItemKey
      • withSchemaItemKey

        public AndroidManagedStoreAppConfigurationSchemaItem withSchemaItemKey​(String schemaItemKey)
        Returns an immutable copy of this with just the schemaItemKey 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.

        “Unique key the application uses to identify the item”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getSelections()
        “List of human readable name/value pairs for the valid values that can be set for this item (Choice and Multiselect items only)”
        Returns:
        property selections
      • getSelections

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getSelections​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of human readable name/value pairs for the valid values that can be set for this item (Choice and Multiselect items only)”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property selections
      • 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