public class GroupPolicyPresentationMultiTextBox extends GroupPolicyPresentation implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyPresentationMultiTextBox.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Long |
maxLength |
protected Long |
maxStrings |
protected Boolean |
required |
label, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyPresentationMultiTextBox() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyPresentationMultiTextBox.Builder |
builderGroupPolicyPresentationMultiTextBox()
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<Long> |
getMaxLength()
“An unsigned integer that specifies the maximum number of text characters.
|
Optional<Long> |
getMaxStrings()
“An unsigned integer that specifies the maximum number of strings.
|
Optional<Boolean> |
getRequired()
“Requirement to enter a value in the text box.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyPresentationMultiTextBox |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyPresentationMultiTextBox |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyPresentationMultiTextBox |
withMaxLength(Long maxLength)
Returns an immutable copy of
this with just the maxLength field
changed. |
GroupPolicyPresentationMultiTextBox |
withMaxStrings(Long maxStrings)
Returns an immutable copy of
this with just the maxStrings field
changed. |
GroupPolicyPresentationMultiTextBox |
withRequired(Boolean required)
Returns an immutable copy of
this with just the required field
changed. |
builderGroupPolicyPresentation, getDefinition, getLabel, getLastModifiedDateTime, withLabel, withLastModifiedDateTimeprotected Boolean required
protected Long maxLength
protected Long maxStrings
protected GroupPolicyPresentationMultiTextBox()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class GroupPolicyPresentationpublic static GroupPolicyPresentationMultiTextBox.Builder builderGroupPolicyPresentationMultiTextBox()
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<Boolean> getRequired()
public GroupPolicyPresentationMultiTextBox 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 GroupPolicyPresentationMultiTextBox 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 Optional<Long> getMaxStrings()
public GroupPolicyPresentationMultiTextBox withMaxStrings(Long maxStrings)
this with just the maxStrings 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 strings. Default value is 0.”
maxStrings - new value of maxStrings field (as defined in service metadata)this with just the maxStrings field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class GroupPolicyPresentationpublic GroupPolicyPresentationMultiTextBox 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 GroupPolicyPresentationMultiTextBox 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.