Package odata.msgraph.client.beta.entity
Class GroupPolicyPresentationDropdownList
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.GroupPolicyPresentation
-
- odata.msgraph.client.beta.entity.GroupPolicyPresentationDropdownList
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class GroupPolicyPresentationDropdownList extends GroupPolicyPresentation implements com.github.davidmoten.odata.client.ODataEntityType
“Represents an ADMX dropdownList element and an ADMX enum element.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupPolicyPresentationDropdownList.Builder
-
Field Summary
Fields Modifier and Type Field Description protected GroupPolicyPresentationDropdownListItemdefaultItemprotected List<GroupPolicyPresentationDropdownListItem>itemsprotected StringitemsNextLinkprotected Booleanrequired-
Fields inherited from class odata.msgraph.client.beta.entity.GroupPolicyPresentation
label, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGroupPolicyPresentationDropdownList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupPolicyPresentationDropdownList.BuilderbuilderGroupPolicyPresentationDropdownList()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.ChangedFieldsgetChangedFields()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()GroupPolicyPresentationDropdownListpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)GroupPolicyPresentationDropdownListput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()GroupPolicyPresentationDropdownListwithDefaultItem(GroupPolicyPresentationDropdownListItem defaultItem)Returns an immutable copy ofthiswith just thedefaultItemfield changed.GroupPolicyPresentationDropdownListwithItems(List<GroupPolicyPresentationDropdownListItem> items)Returns an immutable copy ofthiswith just theitemsfield changed.GroupPolicyPresentationDropdownListwithRequired(Boolean required)Returns an immutable copy ofthiswith just therequiredfield changed.GroupPolicyPresentationDropdownListwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.GroupPolicyPresentation
builderGroupPolicyPresentation, getDefinition, getLabel, getLastModifiedDateTime, withLabel, withLastModifiedDateTime
-
-
-
-
Field Detail
-
defaultItem
protected GroupPolicyPresentationDropdownListItem defaultItem
-
items
protected List<GroupPolicyPresentationDropdownListItem> items
-
itemsNextLink
protected String itemsNextLink
-
required
protected Boolean required
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classGroupPolicyPresentation
-
builderGroupPolicyPresentationDropdownList
public static GroupPolicyPresentationDropdownList.Builder builderGroupPolicyPresentationDropdownList()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classGroupPolicyPresentation
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classGroupPolicyPresentation
-
getDefaultItem
public Optional<GroupPolicyPresentationDropdownListItem> getDefaultItem()
“Localized string value identifying the default choice of the list of items.”- Returns:
- property defaultItem
-
withDefaultItem
public GroupPolicyPresentationDropdownList withDefaultItem(GroupPolicyPresentationDropdownListItem defaultItem)
Returns an immutable copy ofthiswith just thedefaultItemfield 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.“Localized string value identifying the default choice of the list of items.”
- Parameters:
defaultItem- new value ofdefaultItemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultItemfield changed
-
getItems
public com.github.davidmoten.odata.client.CollectionPage<GroupPolicyPresentationDropdownListItem> getItems()
“Represents a set of localized display names and their associated values.”- Returns:
- property items
-
withItems
public GroupPolicyPresentationDropdownList withItems(List<GroupPolicyPresentationDropdownListItem> items)
Returns an immutable copy ofthiswith just theitemsfield 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.“Represents a set of localized display names and their associated values.”
- Parameters:
items- new value ofitemsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theitemsfield changed
-
getItems
public 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.”- Parameters:
options- specify connect and read timeouts- Returns:
- property items
-
getRequired
public Optional<Boolean> getRequired()
“Requirement to enter a value in the parameter box. The default value is false.”- Returns:
- property required
-
withRequired
public GroupPolicyPresentationDropdownList withRequired(Boolean required)
Returns an immutable copy ofthiswith just therequiredfield 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.“Requirement to enter a value in the parameter box. The default value is false.”
- Parameters:
required- new value ofrequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequiredfield changed
-
withUnmappedField
public GroupPolicyPresentationDropdownList withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classGroupPolicyPresentation
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classGroupPolicyPresentation
-
patch
public GroupPolicyPresentationDropdownList patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classGroupPolicyPresentation- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public GroupPolicyPresentationDropdownList put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classGroupPolicyPresentation- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classGroupPolicyPresentation
-
-