public class AndroidForWorkAppConfigurationSchemaItem extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidForWorkAppConfigurationSchemaItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected AndroidForWorkAppConfigurationSchemaItemDataType |
dataType |
protected Boolean |
defaultBoolValue |
protected Integer |
defaultIntValue |
protected List<String> |
defaultStringArrayValue |
protected String |
defaultStringArrayValueNextLink |
protected String |
defaultStringValue |
protected String |
description |
protected String |
displayName |
protected String |
odataType |
protected String |
schemaItemKey |
protected List<KeyValuePair> |
selections |
protected String |
selectionsNextLink |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AndroidForWorkAppConfigurationSchemaItem() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidForWorkAppConfigurationSchemaItem.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<AndroidForWorkAppConfigurationSchemaItemDataType> |
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”
|
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<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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AndroidForWorkAppConfigurationSchemaItem |
withDataType(AndroidForWorkAppConfigurationSchemaItemDataType dataType)
Returns an immutable copy of
this with just the dataType field
changed. |
AndroidForWorkAppConfigurationSchemaItem |
withDefaultBoolValue(Boolean defaultBoolValue)
Returns an immutable copy of
this with just the defaultBoolValue
field changed. |
AndroidForWorkAppConfigurationSchemaItem |
withDefaultIntValue(Integer defaultIntValue)
Returns an immutable copy of
this with just the defaultIntValue
field changed. |
AndroidForWorkAppConfigurationSchemaItem |
withDefaultStringValue(String defaultStringValue)
Returns an immutable copy of
this with just the defaultStringValue field changed. |
AndroidForWorkAppConfigurationSchemaItem |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
AndroidForWorkAppConfigurationSchemaItem |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
AndroidForWorkAppConfigurationSchemaItem |
withSchemaItemKey(String schemaItemKey)
Returns an immutable copy of
this with just the schemaItemKey
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String schemaItemKey
protected String displayName
protected String description
protected Boolean defaultBoolValue
protected Integer defaultIntValue
protected String defaultStringValue
protected String defaultStringArrayValueNextLink
protected AndroidForWorkAppConfigurationSchemaItemDataType dataType
protected List<KeyValuePair> selections
protected String selectionsNextLink
protected AndroidForWorkAppConfigurationSchemaItem()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getSchemaItemKey()
public AndroidForWorkAppConfigurationSchemaItem withSchemaItemKey(String schemaItemKey)
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”
schemaItemKey - new value of schemaItemKey field (as defined in service metadata)this with just the schemaItemKey field changedpublic Optional<String> getDisplayName()
public AndroidForWorkAppConfigurationSchemaItem withDisplayName(String displayName)
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”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public AndroidForWorkAppConfigurationSchemaItem withDescription(String description)
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”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<Boolean> getDefaultBoolValue()
public AndroidForWorkAppConfigurationSchemaItem withDefaultBoolValue(Boolean defaultBoolValue)
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”
defaultBoolValue - new value of defaultBoolValue field (as defined in service metadata)this with just the defaultBoolValue field changedpublic Optional<Integer> getDefaultIntValue()
public AndroidForWorkAppConfigurationSchemaItem withDefaultIntValue(Integer defaultIntValue)
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”
defaultIntValue - new value of defaultIntValue field (as defined in service metadata)this with just the defaultIntValue field changedpublic Optional<String> getDefaultStringValue()
public AndroidForWorkAppConfigurationSchemaItem withDefaultStringValue(String defaultStringValue)
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”
defaultStringValue - new value of defaultStringValue field (as defined in service metadata)this with just the defaultStringValue field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getDefaultStringArrayValue()
public Optional<AndroidForWorkAppConfigurationSchemaItemDataType> getDataType()
public AndroidForWorkAppConfigurationSchemaItem withDataType(AndroidForWorkAppConfigurationSchemaItemDataType dataType)
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”
dataType - new value of dataType field (as defined in service metadata)this with just the dataType field changedpublic com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getSelections()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static AndroidForWorkAppConfigurationSchemaItem.Builder builder()
Copyright © 2018–2020. All rights reserved.