public class GroupPolicyPresentationDropdownList extends GroupPolicyPresentation implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyPresentationDropdownList.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected GroupPolicyPresentationDropdownListItem |
defaultItem |
protected List<GroupPolicyPresentationDropdownListItem> |
items |
protected String |
itemsNextLink |
protected Boolean |
required |
label, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyPresentationDropdownList() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyPresentationDropdownList.Builder |
builderGroupPolicyPresentationDropdownList()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<GroupPolicyPresentationDropdownListItem> |
getDefaultItem()
“Localized string value identifying the default choice of the list of items.”
|
com.github.davidmoten.odata.client.CollectionPage<GroupPolicyPresentationDropdownListItem> |
getItems()
“Represents a set of localized display names and their associated values.”
|
com.github.davidmoten.odata.client.CollectionPage<GroupPolicyPresentationDropdownListItem> |
getItems(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Represents a set of localized display names and their associated values.”
|
Optional<Boolean> |
getRequired()
“Requirement to enter a value in the parameter box.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyPresentationDropdownList |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyPresentationDropdownList |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyPresentationDropdownList |
withDefaultItem(GroupPolicyPresentationDropdownListItem defaultItem)
Returns an immutable copy of
this with just the defaultItem
field changed. |
GroupPolicyPresentationDropdownList |
withRequired(Boolean required)
Returns an immutable copy of
this with just the required field
changed. |
builderGroupPolicyPresentation, getDefinition, getLabel, getLastModifiedDateTime, withLabel, withLastModifiedDateTimeprotected GroupPolicyPresentationDropdownListItem defaultItem
protected List<GroupPolicyPresentationDropdownListItem> items
protected String itemsNextLink
protected Boolean required
protected GroupPolicyPresentationDropdownList()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class GroupPolicyPresentationpublic static GroupPolicyPresentationDropdownList.Builder builderGroupPolicyPresentationDropdownList()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class GroupPolicyPresentationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class GroupPolicyPresentationpublic Optional<GroupPolicyPresentationDropdownListItem> getDefaultItem()
public GroupPolicyPresentationDropdownList withDefaultItem(GroupPolicyPresentationDropdownListItem defaultItem)
this with just the defaultItem
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 string value identifying the default choice of the list of items.”
defaultItem - new value of defaultItem field (as defined in service metadata)this with just the defaultItem field changedpublic com.github.davidmoten.odata.client.CollectionPage<GroupPolicyPresentationDropdownListItem> getItems()
public com.github.davidmoten.odata.client.CollectionPage<GroupPolicyPresentationDropdownListItem> getItems(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<Boolean> getRequired()
public GroupPolicyPresentationDropdownList withRequired(Boolean required)
this with just the required 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.
“Requirement to enter a value in the parameter box. The default value is false.”
required - new value of required field (as defined in service metadata)this with just the required field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class GroupPolicyPresentationpublic GroupPolicyPresentationDropdownList patch()
this with changed fields reset.patch in class GroupPolicyPresentationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic GroupPolicyPresentationDropdownList put()
this
with changed fields reset (they were ignored anyway).put in class GroupPolicyPresentationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class GroupPolicyPresentationCopyright © 2018–2020. All rights reserved.