Class AndroidManagedStoreAppConfigurationSchemaItem
- java.lang.Object
-
- odata.msgraph.client.beta.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidManagedStoreAppConfigurationSchemaItem.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected AndroidManagedStoreAppConfigurationSchemaItemDataTypedataTypeprotected BooleandefaultBoolValueprotected IntegerdefaultIntValueprotected List<String>defaultStringArrayValueprotected StringdefaultStringArrayValueNextLinkprotected StringdefaultStringValueprotected Stringdescriptionprotected StringdisplayNameprotected Integerindexprotected StringodataTypeprotected IntegerparentIndexprotected StringschemaItemKeyprotected List<KeyValuePair>selectionsprotected StringselectionsNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidManagedStoreAppConfigurationSchemaItem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidManagedStoreAppConfigurationSchemaItem.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<AndroidManagedStoreAppConfigurationSchemaItemDataType>getDataType()“The type of value this item describes”Optional<Boolean>getDefaultBoolValue()“Default value for boolean type items, if specified by the app developer”Optional<Integer>getDefaultIntValue()“Default value for integer type items, if specified by the app developer”com.github.davidmoten.odata.client.CollectionPage<String>getDefaultStringArrayValue()“Default value for string array type items, if specified by the app developer”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”Optional<String>getDefaultStringValue()“Default value for string type items, if specified by the app developer”Optional<String>getDescription()“Description of what the item controls within the application”Optional<String>getDisplayName()“Human readable name”Optional<Integer>getIndex()“Unique index the application uses to maintain nested schema items”Optional<Integer>getParentIndex()“Index of parent schema item to track nested schema items”Optional<String>getSchemaItemKey()“Unique key the application uses to identify the item”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)”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)”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AndroidManagedStoreAppConfigurationSchemaItemwithDataType(AndroidManagedStoreAppConfigurationSchemaItemDataType dataType)Returns an immutable copy ofthiswith just thedataTypefield changed.AndroidManagedStoreAppConfigurationSchemaItemwithDefaultBoolValue(Boolean defaultBoolValue)Returns an immutable copy ofthiswith just thedefaultBoolValuefield changed.AndroidManagedStoreAppConfigurationSchemaItemwithDefaultIntValue(Integer defaultIntValue)Returns an immutable copy ofthiswith just thedefaultIntValuefield changed.AndroidManagedStoreAppConfigurationSchemaItemwithDefaultStringValue(String defaultStringValue)Returns an immutable copy ofthiswith just thedefaultStringValuefield changed.AndroidManagedStoreAppConfigurationSchemaItemwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.AndroidManagedStoreAppConfigurationSchemaItemwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.AndroidManagedStoreAppConfigurationSchemaItemwithIndex(Integer index)Returns an immutable copy ofthiswith just theindexfield changed.AndroidManagedStoreAppConfigurationSchemaItemwithParentIndex(Integer parentIndex)Returns an immutable copy ofthiswith just theparentIndexfield changed.AndroidManagedStoreAppConfigurationSchemaItemwithSchemaItemKey(String schemaItemKey)Returns an immutable copy ofthiswith just theschemaItemKeyfield changed.AndroidManagedStoreAppConfigurationSchemaItemwithUnmappedField(String name, String value)
-
-
-
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
-
dataType
protected AndroidManagedStoreAppConfigurationSchemaItemDataType dataType
-
defaultBoolValue
protected Boolean defaultBoolValue
-
defaultIntValue
protected Integer defaultIntValue
-
defaultStringArrayValueNextLink
protected String defaultStringArrayValueNextLink
-
defaultStringValue
protected String defaultStringValue
-
description
protected String description
-
displayName
protected String displayName
-
index
protected Integer index
-
parentIndex
protected Integer parentIndex
-
schemaItemKey
protected String schemaItemKey
-
selections
protected List<KeyValuePair> selections
-
selectionsNextLink
protected String selectionsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDataType
public Optional<AndroidManagedStoreAppConfigurationSchemaItemDataType> getDataType()
“The type of value this item describes”- Returns:
- property dataType
-
withDataType
public AndroidManagedStoreAppConfigurationSchemaItem withDataType(AndroidManagedStoreAppConfigurationSchemaItemDataType dataType)
Returns an immutable copy ofthiswith just thedataTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdataTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedataTypefield 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 ofthiswith just thedefaultBoolValuefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofdefaultBoolValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultBoolValuefield 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 ofthiswith just thedefaultIntValuefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofdefaultIntValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultIntValuefield 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 ofthiswith just thedefaultStringValuefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdefaultStringValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultStringValuefield 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 ofthiswith just thedescriptionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Human readable name”- Returns:
- property displayName
-
withDisplayName
public AndroidManagedStoreAppConfigurationSchemaItem withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Human readable name”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield 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 ofthiswith just theindexfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofindexfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theindexfield 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 ofthiswith just theparentIndexfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofparentIndexfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theparentIndexfield 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 ofthiswith just theschemaItemKeyfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofschemaItemKeyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theschemaItemKeyfield 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
-
withUnmappedField
public AndroidManagedStoreAppConfigurationSchemaItem withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static AndroidManagedStoreAppConfigurationSchemaItem.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
-
-