public class DeviceManagementSettingCategory extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementSettingCategory.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected Boolean |
hasRequiredSetting |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementSettingCategory() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementSettingCategory.Builder |
builderDeviceManagementSettingCategory()
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> |
getDisplayName()
“The category name”
|
Optional<Boolean> |
getHasRequiredSetting()
“The category contains top level required setting”
|
DeviceManagementSettingDefinitionCollectionRequest |
getSettingDefinitions()
“The setting definitions this category contains”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceManagementSettingCategory |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementSettingCategory |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementSettingCategory |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceManagementSettingCategory |
withHasRequiredSetting(Boolean hasRequiredSetting)
Returns an immutable copy of
this with just the hasRequiredSetting field changed. |
protected String displayName
protected Boolean hasRequiredSetting
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementSettingCategory.Builder builderDeviceManagementSettingCategory()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getDisplayName()
public DeviceManagementSettingCategory withDisplayName(String displayName)
this with just the displayName
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 category name”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<Boolean> getHasRequiredSetting()
public DeviceManagementSettingCategory withHasRequiredSetting(Boolean hasRequiredSetting)
this with just the hasRequiredSetting 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 category contains top level required setting”
hasRequiredSetting - new value of hasRequiredSetting field (as defined in service metadata)this with just the hasRequiredSetting field changedpublic DeviceManagementSettingDefinitionCollectionRequest getSettingDefinitions()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementSettingCategory patch()
this with changed fields reset.public DeviceManagementSettingCategory put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.