Package odata.msgraph.client.complex
Class OmaSetting
- java.lang.Object
-
- odata.msgraph.client.complex.OmaSetting
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
OmaSettingBase64,OmaSettingBoolean,OmaSettingDateTime,OmaSettingFloatingPoint,OmaSettingInteger,OmaSettingString,OmaSettingStringXml
public class OmaSetting extends Object implements com.github.davidmoten.odata.client.ODataType
“OMA Settings definition.”
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringdescriptionprotected StringdisplayNameprotected StringodataTypeprotected StringomaUriprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedOmaSetting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getDescription()“Description.”Optional<String>getDisplayName()“Display Name.”Optional<String>getOmaUri()“OMA.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()OmaSettingwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.OmaSettingwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.OmaSettingwithOmaUri(String omaUri)Returns an immutable copy ofthiswith just theomaUrifield changed.OmaSettingwithUnmappedField(String name, Object value)
-
-
-
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
-
description
protected String description
-
displayName
protected String displayName
-
omaUri
protected String omaUri
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDescription
public Optional<String> getDescription()
“Description.”- Returns:
- property description
-
withDescription
public OmaSetting withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“Description.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Display Name.”- Returns:
- property displayName
-
withDisplayName
public OmaSetting 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.“Display Name.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
withOmaUri
public OmaSetting withOmaUri(String omaUri)
Returns an immutable copy ofthiswith just theomaUrifield 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.“OMA.”
- Parameters:
omaUri- new value ofomaUrifield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theomaUrifield changed
-
withUnmappedField
public OmaSetting withUnmappedField(String name, Object 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
-
-