public class OmaSettingInteger extends OmaSetting implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
OmaSettingInteger.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
isReadOnly |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected Integer |
value |
contextPath, description, displayName, odataType, omaUri| Modifier | Constructor and Description |
|---|---|
protected |
OmaSettingInteger() |
| Modifier and Type | Method and Description |
|---|---|
static OmaSettingInteger.Builder |
builderOmaSettingInteger()
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.internal.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getValue()
“Value.”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
OmaSettingInteger |
withIsReadOnly(Boolean isReadOnly)
Returns an immutable copy of
this with just the isReadOnly field
changed. |
OmaSettingInteger |
withValue(Integer value)
Returns an immutable copy of
this with just the value field
changed. |
getDescription, getDisplayName, getOmaUri, withDescription, withDisplayName, withOmaUriprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected Integer value
protected Boolean isReadOnly
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OmaSettingpublic OmaSettingInteger withValue(Integer value)
this with just the value field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Value.”
value - new value of value field (as defined in service metadata)this with just the value field changedpublic Optional<Boolean> getIsReadOnly()
public OmaSettingInteger withIsReadOnly(Boolean isReadOnly)
this with just the isReadOnly field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.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”
isReadOnly - new value of isReadOnly field (as defined in service metadata)this with just the isReadOnly field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class OmaSettingpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class OmaSettingpublic static OmaSettingInteger.Builder builderOmaSettingInteger()
public String toString()
toString in class OmaSettingCopyright © 2018–2020. All rights reserved.