Class OmaSettingInteger
- java.lang.Object
-
- odata.msgraph.client.beta.complex.OmaSetting
-
- odata.msgraph.client.beta.complex.OmaSettingInteger
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class OmaSettingInteger extends OmaSetting implements com.github.davidmoten.odata.client.ODataType
“OMA Settings Integer definition.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOmaSettingInteger.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanisReadOnlyprotected Integervalue-
Fields inherited from class odata.msgraph.client.beta.complex.OmaSetting
contextPath, description, displayName, isEncrypted, odataType, omaUri, secretReferenceValueId, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOmaSettingInteger()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OmaSettingInteger.BuilderbuilderOmaSettingInteger()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getIsReadOnly()“By setting to true, the CSP (configuration service provider) specified in the OMA-URI will perform a get, instead of set”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getValue()“Value.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()OmaSettingIntegerwithIsReadOnly(Boolean isReadOnly)Returns an immutable copy ofthiswith just theisReadOnlyfield changed.OmaSettingIntegerwithUnmappedField(String name, String value)OmaSettingIntegerwithValue(Integer value)Returns an immutable copy ofthiswith just thevaluefield changed.-
Methods inherited from class odata.msgraph.client.beta.complex.OmaSetting
getDescription, getDisplayName, getIsEncrypted, getOmaUri, getSecretReferenceValueId, withDescription, withDisplayName, withIsEncrypted, withOmaUri, withSecretReferenceValueId
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOmaSetting
-
getIsReadOnly
public Optional<Boolean> getIsReadOnly()
“By setting to true, the CSP (configuration service provider) specified in the OMA-URI will perform a get, instead of set”- Returns:
- property isReadOnly
-
withIsReadOnly
public OmaSettingInteger withIsReadOnly(Boolean isReadOnly)
Returns an immutable copy ofthiswith just theisReadOnlyfield 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.“By setting to true, the CSP (configuration service provider) specified in the OMA-URI will perform a get, instead of set”
- Parameters:
isReadOnly- new value ofisReadOnlyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisReadOnlyfield changed
-
withValue
public OmaSettingInteger withValue(Integer 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 OmaSettingInteger 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
-
builderOmaSettingInteger
public static OmaSettingInteger.Builder builderOmaSettingInteger()
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
-
-