public class BooleanOptionSetMetadata extends OptionSetMetadataBase implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
BooleanOptionSetMetadata.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OptionMetadata |
falseOption |
protected OptionMetadata |
trueOption |
description, displayName, externalTypeName, introducedVersion, isCustomizable, isCustomOptionSet, isGlobal, isManaged, name, optionSetTypehasChanged, metadataIdchangedFields, contextPath, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
BooleanOptionSetMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static BooleanOptionSetMetadata.Builder |
builderBooleanOptionSetMetadata()
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<OptionMetadata> |
getFalseOption() |
Optional<OptionMetadata> |
getTrueOption() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
BooleanOptionSetMetadata |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
BooleanOptionSetMetadata |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
BooleanOptionSetMetadata |
withFalseOption(OptionMetadata falseOption) |
BooleanOptionSetMetadata |
withTrueOption(OptionMetadata trueOption) |
BooleanOptionSetMetadata |
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 OptionMetadata trueOption
protected OptionMetadata falseOption
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OptionSetMetadataBasepublic static BooleanOptionSetMetadata.Builder builderBooleanOptionSetMetadata()
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 Optional<OptionMetadata> getTrueOption()
public BooleanOptionSetMetadata withTrueOption(OptionMetadata trueOption)
public Optional<OptionMetadata> getFalseOption()
public BooleanOptionSetMetadata withFalseOption(OptionMetadata falseOption)
public BooleanOptionSetMetadata 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 BooleanOptionSetMetadata 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 BooleanOptionSetMetadata 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.