public class StateOptionMetadata extends OptionMetadata implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
StateOptionMetadata.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
defaultStatus |
protected String |
invariantName |
color, contextPath, description, externalValue, hasChanged, isManaged, label, metadataId, odataType, parentValues, parentValuesNextLink, unmappedFields, value| Modifier | Constructor and Description |
|---|---|
protected |
StateOptionMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static StateOptionMetadata.Builder |
builderStateOptionMetadata()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getDefaultStatus() |
Optional<String> |
getInvariantName() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
StateOptionMetadata |
withDefaultStatus(Integer defaultStatus) |
StateOptionMetadata |
withInvariantName(String invariantName) |
StateOptionMetadata |
withUnmappedField(String name,
String value) |
builder, getColor, getDescription, getExternalValue, getHasChanged, getIsManaged, getLabel, getMetadataId, getParentValues, getParentValues, getValue, withColor, withDescription, withExternalValue, withHasChanged, withIsManaged, withLabel, withMetadataId, withValueprotected Integer defaultStatus
protected String invariantName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OptionMetadatapublic StateOptionMetadata withDefaultStatus(Integer defaultStatus)
public StateOptionMetadata withInvariantName(String invariantName)
public StateOptionMetadata withUnmappedField(String name, String value)
withUnmappedField in class OptionMetadatapublic com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class OptionMetadatapublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class OptionMetadatapublic static StateOptionMetadata.Builder builderStateOptionMetadata()
public String toString()
toString in class OptionMetadataCopyright © 2018–2020. All rights reserved.