Package odata.msgraph.client.complex
Class OmaSettingDateTime
- java.lang.Object
-
- odata.msgraph.client.complex.OmaSetting
-
- odata.msgraph.client.complex.OmaSettingDateTime
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class OmaSettingDateTime extends OmaSetting implements com.github.davidmoten.odata.client.ODataType
“OMA Settings DateTime definition.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOmaSettingDateTime.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimevalue-
Fields inherited from class odata.msgraph.client.complex.OmaSetting
contextPath, description, displayName, odataType, omaUri, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOmaSettingDateTime()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OmaSettingDateTime.BuilderbuilderOmaSettingDateTime()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.UnmappedFieldsgetUnmappedFields()Optional<OffsetDateTime>getValue()“Value.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()OmaSettingDateTimewithUnmappedField(String name, String value)OmaSettingDateTimewithValue(OffsetDateTime value)Returns an immutable copy ofthiswith just thevaluefield changed.-
Methods inherited from class odata.msgraph.client.complex.OmaSetting
getDescription, getDisplayName, getOmaUri, withDescription, withDisplayName, withOmaUri
-
-
-
-
Field Detail
-
value
protected OffsetDateTime value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOmaSetting
-
getValue
public Optional<OffsetDateTime> getValue()
“Value.”- Returns:
- property value
-
withValue
public OmaSettingDateTime withValue(OffsetDateTime 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.“Value.”
- Parameters:
value- new value ofvaluefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevaluefield changed
-
withUnmappedField
public OmaSettingDateTime withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classOmaSetting
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classOmaSetting
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classOmaSetting
-
builderOmaSettingDateTime
public static OmaSettingDateTime.Builder builderOmaSettingDateTime()
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
-
toString
public String toString()
- Overrides:
toStringin classOmaSetting
-
-