public class GroupPolicyPresentationDropdownListItem extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyPresentationDropdownListItem.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 |
GroupPolicyPresentationDropdownListItem() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyPresentationDropdownListItem.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()
“Localized display name for the drop-down list item.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getValue()
“Associated value for the drop-down list item”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
GroupPolicyPresentationDropdownListItem |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
GroupPolicyPresentationDropdownListItem |
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 displayName
protected String value
protected GroupPolicyPresentationDropdownListItem()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getDisplayName()
public GroupPolicyPresentationDropdownListItem 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.
“Localized display name for the drop-down list item.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getValue()
public GroupPolicyPresentationDropdownListItem 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.
“Associated value for the drop-down list item”
value - new value of value field (as defined in service metadata)this with just the value 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 GroupPolicyPresentationDropdownListItem.Builder builder()
Copyright © 2018–2020. All rights reserved.