public class DeviceManagementEnumValue extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementEnumValue.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
displayName |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementEnumValue() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementEnumValue.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDisplayName()
“Display name for this enum value”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getValue()
“The raw enum value text”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementEnumValue |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceManagementEnumValue |
withValue(String value)
Returns an immutable copy of
this with just the value field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String value
protected String displayName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic DeviceManagementEnumValue withValue(String value)
this with just the value 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 raw enum value text”
value - new value of value field (as defined in service metadata)this with just the value field changedpublic Optional<String> getDisplayName()
public DeviceManagementEnumValue 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.
“Display name for this enum value”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic 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 DeviceManagementEnumValue.Builder builder()
Copyright © 2018–2020. All rights reserved.