public class DeviceManagementSettingDefinition extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementSettingDefinition.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<DeviceManagementConstraint> |
constraints |
protected String |
constraintsNextLink |
protected List<DeviceManagementSettingDependency> |
dependencies |
protected String |
dependenciesNextLink |
protected String |
description |
protected String |
displayName |
protected String |
documentationUrl |
protected Boolean |
isTopLevel |
protected List<String> |
keywords |
protected String |
keywordsNextLink |
protected String |
placeholderText |
protected DeviceManangementIntentValueType |
valueType |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementSettingDefinition() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementSettingDefinition.Builder |
builderDeviceManagementSettingDefinition()
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() |
com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConstraint> |
getConstraints()
“Collection of constraints for the setting value”
|
com.github.davidmoten.odata.client.CollectionPage<DeviceManagementSettingDependency> |
getDependencies()
“Collection of dependencies on other settings”
|
Optional<String> |
getDescription()
“The setting's description”
|
Optional<String> |
getDisplayName()
“The setting's display name”
|
Optional<String> |
getDocumentationUrl()
“Url to setting documentation”
|
Optional<Boolean> |
getIsTopLevel()
“If the setting is top level, it can be configured without the need to be wrapped
in a collection or complex setting”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getKeywords()
“Keywords associated with the setting”
|
Optional<String> |
getPlaceholderText()
“Placeholder text as an example of valid input”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<DeviceManangementIntentValueType> |
getValueType()
“The data type of the value”
|
String |
odataTypeName() |
DeviceManagementSettingDefinition |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementSettingDefinition |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementSettingDefinition |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
DeviceManagementSettingDefinition |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceManagementSettingDefinition |
withDocumentationUrl(String documentationUrl)
Returns an immutable copy of
this with just the documentationUrl
field changed. |
DeviceManagementSettingDefinition |
withIsTopLevel(Boolean isTopLevel)
Returns an immutable copy of
this with just the isTopLevel field
changed. |
DeviceManagementSettingDefinition |
withPlaceholderText(String placeholderText)
Returns an immutable copy of
this with just the placeholderText
field changed. |
DeviceManagementSettingDefinition |
withValueType(DeviceManangementIntentValueType valueType)
Returns an immutable copy of
this with just the valueType field
changed. |
protected DeviceManangementIntentValueType valueType
protected String displayName
protected Boolean isTopLevel
protected String description
protected String placeholderText
protected String documentationUrl
protected String keywordsNextLink
protected List<DeviceManagementConstraint> constraints
protected String constraintsNextLink
protected List<DeviceManagementSettingDependency> dependencies
protected String dependenciesNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementSettingDefinition.Builder builderDeviceManagementSettingDefinition()
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<DeviceManangementIntentValueType> getValueType()
public DeviceManagementSettingDefinition withValueType(DeviceManangementIntentValueType valueType)
this with just the valueType 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 data type of the value”
valueType - new value of valueType field (as defined in service metadata)this with just the valueType field changedpublic Optional<String> getDisplayName()
public DeviceManagementSettingDefinition 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 setting's display name”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<Boolean> getIsTopLevel()
public DeviceManagementSettingDefinition withIsTopLevel(Boolean isTopLevel)
this with just the isTopLevel 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.
“If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting”
isTopLevel - new value of isTopLevel field (as defined in service metadata)this with just the isTopLevel field changedpublic Optional<String> getDescription()
public DeviceManagementSettingDefinition withDescription(String description)
this with just the description
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's description”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<String> getPlaceholderText()
public DeviceManagementSettingDefinition withPlaceholderText(String placeholderText)
this with just the placeholderText
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.
“Placeholder text as an example of valid input”
placeholderText - new value of placeholderText field (as defined in service metadata)this with just the placeholderText field changedpublic Optional<String> getDocumentationUrl()
public DeviceManagementSettingDefinition withDocumentationUrl(String documentationUrl)
this with just the documentationUrl
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.
“Url to setting documentation”
documentationUrl - new value of documentationUrl field (as defined in service metadata)this with just the documentationUrl field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getKeywords()
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConstraint> getConstraints()
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementSettingDependency> getDependencies()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementSettingDefinition patch()
this with changed fields reset.public DeviceManagementSettingDefinition put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.