public class GroupPolicyPresentationTextBox extends GroupPolicyPresentation implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyPresentationTextBox.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultValue |
protected Long |
maxLength |
protected Boolean |
required |
label, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyPresentationTextBox() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyPresentationTextBox.Builder |
builderGroupPolicyPresentationTextBox()
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> |
getDefaultValue()
“Localized default string displayed in the text box.
|
Optional<Long> |
getMaxLength()
“An unsigned integer that specifies the maximum number of text characters.
|
Optional<Boolean> |
getRequired()
“Requirement to enter a value in the text box.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyPresentationTextBox |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyPresentationTextBox |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyPresentationTextBox |
withDefaultValue(String defaultValue)
Returns an immutable copy of
this with just the defaultValue
field changed. |
GroupPolicyPresentationTextBox |
withMaxLength(Long maxLength)
Returns an immutable copy of
this with just the maxLength field
changed. |
GroupPolicyPresentationTextBox |
withRequired(Boolean required)
Returns an immutable copy of
this with just the required field
changed. |
builderGroupPolicyPresentation, getDefinition, getLabel, getLastModifiedDateTime, withLabel, withLastModifiedDateTimeprotected String defaultValue
protected Boolean required
protected Long maxLength
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class GroupPolicyPresentationpublic static GroupPolicyPresentationTextBox.Builder builderGroupPolicyPresentationTextBox()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class GroupPolicyPresentationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class GroupPolicyPresentationpublic Optional<String> getDefaultValue()
public GroupPolicyPresentationTextBox withDefaultValue(String defaultValue)
this with just the defaultValue
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.
“Localized default string displayed in the text box. The default value is empty.”
defaultValue - new value of defaultValue field (as defined in service metadata)this with just the defaultValue field changedpublic Optional<Boolean> getRequired()
public GroupPolicyPresentationTextBox withRequired(Boolean required)
this with just the required 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.
“Requirement to enter a value in the text box. Default value is false.”
required - new value of required field (as defined in service metadata)this with just the required field changedpublic Optional<Long> getMaxLength()
public GroupPolicyPresentationTextBox withMaxLength(Long maxLength)
this with just the maxLength 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.
“An unsigned integer that specifies the maximum number of text characters. Default value is 1023.”
maxLength - new value of maxLength field (as defined in service metadata)this with just the maxLength field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class GroupPolicyPresentationpublic GroupPolicyPresentationTextBox patch()
this with changed fields reset.patch in class GroupPolicyPresentationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic GroupPolicyPresentationTextBox put()
this
with changed fields reset (they were ignored anyway).put in class GroupPolicyPresentationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class GroupPolicyPresentationCopyright © 2018–2020. All rights reserved.