public class DeviceManagementCollectionSettingDefinition extends DeviceManagementSettingDefinition implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementCollectionSettingDefinition.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
elementDefinitionId |
constraints, constraintsNextLink, dependencies, dependenciesNextLink, description, displayName, documentationUrl, isTopLevel, keywords, keywordsNextLink, placeholderText, valueTypechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementCollectionSettingDefinition() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementCollectionSettingDefinition.Builder |
builderDeviceManagementCollectionSettingDefinition()
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.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getElementDefinitionId()
“The Setting Definition ID that describes what each element of the collection
looks like”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceManagementCollectionSettingDefinition |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementCollectionSettingDefinition |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementCollectionSettingDefinition |
withElementDefinitionId(String elementDefinitionId)
Returns an immutable copy of
this with just the elementDefinitionId field changed. |
builderDeviceManagementSettingDefinition, getConstraints, getConstraints, getDependencies, getDependencies, getDescription, getDisplayName, getDocumentationUrl, getIsTopLevel, getKeywords, getKeywords, getPlaceholderText, getValueType, withDescription, withDisplayName, withDocumentationUrl, withIsTopLevel, withPlaceholderText, withValueTypeprotected String elementDefinitionId
protected DeviceManagementCollectionSettingDefinition()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceManagementSettingDefinitionpublic static DeviceManagementCollectionSettingDefinition.Builder builderDeviceManagementCollectionSettingDefinition()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceManagementSettingDefinitionpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceManagementSettingDefinitionpublic Optional<String> getElementDefinitionId()
public DeviceManagementCollectionSettingDefinition withElementDefinitionId(String elementDefinitionId)
this with just the elementDefinitionId 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.
“The Setting Definition ID that describes what each element of the collection looks like”
elementDefinitionId - new value of elementDefinitionId field (as defined in service metadata)this with just the elementDefinitionId field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceManagementSettingDefinitionpublic DeviceManagementCollectionSettingDefinition patch()
this with changed fields reset.patch in class DeviceManagementSettingDefinitionthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic DeviceManagementCollectionSettingDefinition put()
this
with changed fields reset (they were ignored anyway).put in class DeviceManagementSettingDefinitionthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceManagementSettingDefinitionCopyright © 2018–2020. All rights reserved.