Class GroupPolicyPresentationDropdownListItem
- java.lang.Object
-
- odata.msgraph.client.beta.complex.GroupPolicyPresentationDropdownListItem
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class GroupPolicyPresentationDropdownListItem extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupPolicyPresentationDropdownListItem.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdisplayNameprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected Stringvalue
-
Constructor Summary
Constructors Modifier Constructor Description protectedGroupPolicyPresentationDropdownListItem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupPolicyPresentationDropdownListItem.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()Optional<String>getValue()“Associated value for the drop-down list item”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()GroupPolicyPresentationDropdownListItemwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.GroupPolicyPresentationDropdownListItemwithUnmappedField(String name, String value)GroupPolicyPresentationDropdownListItemwithValue(String value)Returns an immutable copy ofthiswith just thevaluefield changed.
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
displayName
protected String displayName
-
value
protected String value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDisplayName
public Optional<String> getDisplayName()
“Localized display name for the drop-down list item.”- Returns:
- property displayName
-
withDisplayName
public GroupPolicyPresentationDropdownListItem withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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 display name for the drop-down list item.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getValue
public Optional<String> getValue()
“Associated value for the drop-down list item”- Returns:
- property value
-
withValue
public GroupPolicyPresentationDropdownListItem withValue(String value)
Returns an immutable copy ofthiswith just thevaluefield 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.“Associated value for the drop-down list item”
- Parameters:
value- new value ofvaluefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevaluefield changed
-
withUnmappedField
public GroupPolicyPresentationDropdownListItem withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static GroupPolicyPresentationDropdownListItem.Builder builder()
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
-
-