public class DeviceManagementSettingRegexConstraint extends DeviceManagementConstraint implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementSettingRegexConstraint.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
regex |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
contextPath, odataType| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementSettingRegexConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementSettingRegexConstraint.Builder |
builderDeviceManagementSettingRegexConstraint()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getRegex()
“The RegEx pattern to match against”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementSettingRegexConstraint |
withRegex(String regex)
Returns an immutable copy of
this with just the regex field
changed. |
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String regex
protected DeviceManagementSettingRegexConstraint()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceManagementConstraintpublic Optional<String> getRegex()
public DeviceManagementSettingRegexConstraint withRegex(String regex)
this with just the regex 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 RegEx pattern to match against”
regex - new value of regex field (as defined in service metadata)this with just the regex field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceManagementConstraintpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceManagementConstraintpublic static DeviceManagementSettingRegexConstraint.Builder builderDeviceManagementSettingRegexConstraint()
public String toString()
toString in class DeviceManagementConstraintCopyright © 2018–2020. All rights reserved.