public class GroupPolicyPresentationComboBox extends GroupPolicyPresentation implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyPresentationComboBox.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultValue |
protected Long |
maxLength |
protected Boolean |
required |
protected List<String> |
suggestions |
protected String |
suggestionsNextLink |
label, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyPresentationComboBox() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyPresentationComboBox.Builder |
builderGroupPolicyPresentationComboBox()
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 combo box.
|
Optional<Long> |
getMaxLength()
“An unsigned integer that specifies the maximum number of text characters for the
parameter.
|
Optional<Boolean> |
getRequired()
“Specifies whether a value must be specified for the parameter.
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getSuggestions()
“Localized strings listed in the drop-down list of the combo box.
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getSuggestions(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Localized strings listed in the drop-down list of the combo box.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyPresentationComboBox |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyPresentationComboBox |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyPresentationComboBox |
withDefaultValue(String defaultValue)
Returns an immutable copy of
this with just the defaultValue
field changed. |
GroupPolicyPresentationComboBox |
withMaxLength(Long maxLength)
Returns an immutable copy of
this with just the maxLength field
changed. |
GroupPolicyPresentationComboBox |
withRequired(Boolean required)
Returns an immutable copy of
this with just the required field
changed. |
builderGroupPolicyPresentation, getDefinition, getLabel, getLastModifiedDateTime, withLabel, withLastModifiedDateTimeprotected String defaultValue
protected String suggestionsNextLink
protected Boolean required
protected Long maxLength
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class GroupPolicyPresentationpublic static GroupPolicyPresentationComboBox.Builder builderGroupPolicyPresentationComboBox()
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 GroupPolicyPresentationComboBox 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 combo box. The default value is empty.”
defaultValue - new value of defaultValue field (as defined in service metadata)this with just the defaultValue field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getSuggestions()
public com.github.davidmoten.odata.client.CollectionPage<String> getSuggestions(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<Boolean> getRequired()
public GroupPolicyPresentationComboBox 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.
“Specifies whether a value must be specified for the parameter. The 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 GroupPolicyPresentationComboBox 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 for the parameter. The 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 GroupPolicyPresentationComboBox 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 GroupPolicyPresentationComboBox 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.