Package odata.msgraph.client.beta.entity
Class DeviceManagementSettingDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementSettingDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DeviceManagementAbstractComplexSettingDefinition,DeviceManagementCollectionSettingDefinition,DeviceManagementComplexSettingDefinition
public class DeviceManagementSettingDefinition extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity representing the defintion for a given setting”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementSettingDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<DeviceManagementConstraint>constraintsprotected StringconstraintsNextLinkprotected List<DeviceManagementSettingDependency>dependenciesprotected StringdependenciesNextLinkprotected Stringdescriptionprotected StringdisplayNameprotected StringdocumentationUrlprotected StringheaderSubtitleprotected StringheaderTitleprotected BooleanisTopLevelprotected List<String>keywordsprotected StringkeywordsNextLinkprotected StringplaceholderTextprotected DeviceManangementIntentValueTypevalueType-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementSettingDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementSettingDefinition.BuilderbuilderDeviceManagementSettingDefinition()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.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConstraint>getConstraints()“Collection of constraints for the setting value”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConstraint>getConstraints(com.github.davidmoten.odata.client.HttpRequestOptions options)“Collection of constraints for the setting value”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementSettingDependency>getDependencies()“Collection of dependencies on other settings”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementSettingDependency>getDependencies(com.github.davidmoten.odata.client.HttpRequestOptions options)“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<String>getHeaderSubtitle()“subtitle of the setting header for more details about the category/section”Optional<String>getHeaderTitle()“title of the setting header represents a category/section of a setting/settings”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”com.github.davidmoten.odata.client.CollectionPage<String>getKeywords(com.github.davidmoten.odata.client.HttpRequestOptions options)“Keywords associated with the setting”Optional<String>getPlaceholderText()“Placeholder text as an example of valid input”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<DeviceManangementIntentValueType>getValueType()“The data type of the value”StringodataTypeName()DeviceManagementSettingDefinitionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementSettingDefinitionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementSettingDefinitionwithConstraints(List<DeviceManagementConstraint> constraints)Returns an immutable copy ofthiswith just theconstraintsfield changed.DeviceManagementSettingDefinitionwithDependencies(List<DeviceManagementSettingDependency> dependencies)Returns an immutable copy ofthiswith just thedependenciesfield changed.DeviceManagementSettingDefinitionwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceManagementSettingDefinitionwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceManagementSettingDefinitionwithDocumentationUrl(String documentationUrl)Returns an immutable copy ofthiswith just thedocumentationUrlfield changed.DeviceManagementSettingDefinitionwithHeaderSubtitle(String headerSubtitle)Returns an immutable copy ofthiswith just theheaderSubtitlefield changed.DeviceManagementSettingDefinitionwithHeaderTitle(String headerTitle)Returns an immutable copy ofthiswith just theheaderTitlefield changed.DeviceManagementSettingDefinitionwithIsTopLevel(Boolean isTopLevel)Returns an immutable copy ofthiswith just theisTopLevelfield changed.DeviceManagementSettingDefinitionwithKeywords(List<String> keywords)Returns an immutable copy ofthiswith just thekeywordsfield changed.DeviceManagementSettingDefinitionwithPlaceholderText(String placeholderText)Returns an immutable copy ofthiswith just theplaceholderTextfield changed.DeviceManagementSettingDefinitionwithUnmappedField(String name, String value)DeviceManagementSettingDefinitionwithValueType(DeviceManangementIntentValueType valueType)Returns an immutable copy ofthiswith just thevalueTypefield changed.
-
-
-
Field Detail
-
constraints
protected List<DeviceManagementConstraint> constraints
-
constraintsNextLink
protected String constraintsNextLink
-
dependencies
protected List<DeviceManagementSettingDependency> dependencies
-
dependenciesNextLink
protected String dependenciesNextLink
-
description
protected String description
-
displayName
protected String displayName
-
documentationUrl
protected String documentationUrl
-
headerSubtitle
protected String headerSubtitle
-
headerTitle
protected String headerTitle
-
isTopLevel
protected Boolean isTopLevel
-
keywordsNextLink
protected String keywordsNextLink
-
placeholderText
protected String placeholderText
-
valueType
protected DeviceManangementIntentValueType valueType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementSettingDefinition
public static DeviceManagementSettingDefinition.Builder builderDeviceManagementSettingDefinition()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getConstraints
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConstraint> getConstraints()
“Collection of constraints for the setting value”- Returns:
- property constraints
-
withConstraints
public DeviceManagementSettingDefinition withConstraints(List<DeviceManagementConstraint> constraints)
Returns an immutable copy ofthiswith just theconstraintsfield 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.“Collection of constraints for the setting value”
- Parameters:
constraints- new value ofconstraintsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconstraintsfield changed
-
getConstraints
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConstraint> getConstraints(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Collection of constraints for the setting value”- Parameters:
options- specify connect and read timeouts- Returns:
- property constraints
-
getDependencies
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementSettingDependency> getDependencies()
“Collection of dependencies on other settings”- Returns:
- property dependencies
-
withDependencies
public DeviceManagementSettingDefinition withDependencies(List<DeviceManagementSettingDependency> dependencies)
Returns an immutable copy ofthiswith just thedependenciesfield 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.“Collection of dependencies on other settings”
- Parameters:
dependencies- new value ofdependenciesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedependenciesfield changed
-
getDependencies
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementSettingDependency> getDependencies(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Collection of dependencies on other settings”- Parameters:
options- specify connect and read timeouts- Returns:
- property dependencies
-
getDescription
public Optional<String> getDescription()
“The setting's description”- Returns:
- property description
-
withDescription
public DeviceManagementSettingDefinition withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“The setting's description”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The setting's display name”- Returns:
- property displayName
-
withDisplayName
public DeviceManagementSettingDefinition withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“The setting's display name”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getDocumentationUrl
public Optional<String> getDocumentationUrl()
“Url to setting documentation”- Returns:
- property documentationUrl
-
withDocumentationUrl
public DeviceManagementSettingDefinition withDocumentationUrl(String documentationUrl)
Returns an immutable copy ofthiswith just thedocumentationUrlfield 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.“Url to setting documentation”
- Parameters:
documentationUrl- new value ofdocumentationUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedocumentationUrlfield changed
-
getHeaderSubtitle
public Optional<String> getHeaderSubtitle()
“subtitle of the setting header for more details about the category/section”- Returns:
- property headerSubtitle
-
withHeaderSubtitle
public DeviceManagementSettingDefinition withHeaderSubtitle(String headerSubtitle)
Returns an immutable copy ofthiswith just theheaderSubtitlefield 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.“subtitle of the setting header for more details about the category/section”
- Parameters:
headerSubtitle- new value ofheaderSubtitlefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theheaderSubtitlefield changed
-
getHeaderTitle
public Optional<String> getHeaderTitle()
“title of the setting header represents a category/section of a setting/settings”- Returns:
- property headerTitle
-
withHeaderTitle
public DeviceManagementSettingDefinition withHeaderTitle(String headerTitle)
Returns an immutable copy ofthiswith just theheaderTitlefield 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.“title of the setting header represents a category/section of a setting/settings”
- Parameters:
headerTitle- new value ofheaderTitlefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theheaderTitlefield changed
-
getIsTopLevel
public 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”- Returns:
- property isTopLevel
-
withIsTopLevel
public DeviceManagementSettingDefinition withIsTopLevel(Boolean isTopLevel)
Returns an immutable copy ofthiswith just theisTopLevelfield 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.“If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting”
- Parameters:
isTopLevel- new value ofisTopLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisTopLevelfield changed
-
getKeywords
public com.github.davidmoten.odata.client.CollectionPage<String> getKeywords()
“Keywords associated with the setting”- Returns:
- property keywords
-
withKeywords
public DeviceManagementSettingDefinition withKeywords(List<String> keywords)
Returns an immutable copy ofthiswith just thekeywordsfield 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.“Keywords associated with the setting”
- Parameters:
keywords- new value ofkeywordsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeywordsfield changed
-
getKeywords
public com.github.davidmoten.odata.client.CollectionPage<String> getKeywords(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Keywords associated with the setting”- Parameters:
options- specify connect and read timeouts- Returns:
- property keywords
-
getPlaceholderText
public Optional<String> getPlaceholderText()
“Placeholder text as an example of valid input”- Returns:
- property placeholderText
-
withPlaceholderText
public DeviceManagementSettingDefinition withPlaceholderText(String placeholderText)
Returns an immutable copy ofthiswith just theplaceholderTextfield 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.“Placeholder text as an example of valid input”
- Parameters:
placeholderText- new value ofplaceholderTextfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theplaceholderTextfield changed
-
getValueType
public Optional<DeviceManangementIntentValueType> getValueType()
“The data type of the value”- Returns:
- property valueType
-
withValueType
public DeviceManagementSettingDefinition withValueType(DeviceManangementIntentValueType valueType)
Returns an immutable copy ofthiswith just thevalueTypefield 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.“The data type of the value”
- Parameters:
valueType- new value ofvalueTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevalueTypefield changed
-
withUnmappedField
public DeviceManagementSettingDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceManagementSettingDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementSettingDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-