public class OptionSetMetadata extends OptionSetMetadataBase implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
OptionSetMetadata.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<OptionMetadata> |
options |
protected String |
optionsNextLink |
protected String |
parentOptionSetName |
description, displayName, externalTypeName, introducedVersion, isCustomizable, isCustomOptionSet, isGlobal, isManaged, name, optionSetTypehasChanged, metadataIdchangedFields, contextPath, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
OptionSetMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static OptionSetMetadata.Builder |
builderOptionSetMetadata()
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() |
com.github.davidmoten.odata.client.CollectionPage<OptionMetadata> |
getOptions() |
com.github.davidmoten.odata.client.CollectionPage<OptionMetadata> |
getOptions(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<String> |
getParentOptionSetName() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
OptionSetMetadata |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
OptionSetMetadata |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
OptionSetMetadata |
withOptions(List<OptionMetadata> options) |
OptionSetMetadata |
withParentOptionSetName(String parentOptionSetName) |
OptionSetMetadata |
withUnmappedField(String name,
String value) |
builderOptionSetMetadataBase, getDescription, getDisplayName, getExternalTypeName, getIntroducedVersion, getIsCustomizable, getIsCustomOptionSet, getIsGlobal, getIsManaged, getName, getOptionSetType, withDescription, withDisplayName, withExternalTypeName, withIntroducedVersion, withIsCustomizable, withIsCustomOptionSet, withIsGlobal, withIsManaged, withName, withOptionSetTypegetHasChanged, getMetadataId, withHasChanged, withMetadataIdprotected List<OptionMetadata> options
protected String optionsNextLink
protected String parentOptionSetName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OptionSetMetadataBasepublic static OptionSetMetadata.Builder builderOptionSetMetadata()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class OptionSetMetadataBasepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class OptionSetMetadataBasepublic com.github.davidmoten.odata.client.CollectionPage<OptionMetadata> getOptions()
public OptionSetMetadata withOptions(List<OptionMetadata> options)
public com.github.davidmoten.odata.client.CollectionPage<OptionMetadata> getOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)
public OptionSetMetadata withParentOptionSetName(String parentOptionSetName)
public OptionSetMetadata withUnmappedField(String name, String value)
withUnmappedField in class OptionSetMetadataBasepublic com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class OptionSetMetadataBasepublic OptionSetMetadata patch()
this with changed fields reset.patch in class OptionSetMetadataBasethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic OptionSetMetadata put()
this
with changed fields reset (they were ignored anyway).put in class OptionSetMetadataBasethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class OptionSetMetadataBaseCopyright © 2018–2020. All rights reserved.