public class OptionMetadata extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
OptionMetadata.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
color |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Label |
description |
protected String |
externalValue |
protected Boolean |
hasChanged |
protected Boolean |
isManaged |
protected Label |
label |
protected String |
metadataId |
protected String |
odataType |
protected List<Integer> |
parentValues |
protected String |
parentValuesNextLink |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
protected Integer |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
OptionMetadata() |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected String odataType
protected Integer value
protected Label label
protected Label description
protected String color
protected Boolean isManaged
protected String externalValue
protected String parentValuesNextLink
protected String metadataId
protected Boolean hasChanged
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic OptionMetadata withValue(Integer value)
public OptionMetadata withLabel(Label label)
public OptionMetadata withDescription(Label description)
public OptionMetadata withColor(String color)
public OptionMetadata withIsManaged(Boolean isManaged)
public OptionMetadata withExternalValue(String externalValue)
public com.github.davidmoten.odata.client.CollectionPage<Integer> getParentValues()
public com.github.davidmoten.odata.client.CollectionPage<Integer> getParentValues(com.github.davidmoten.odata.client.HttpRequestOptions options)
public OptionMetadata withMetadataId(String metadataId)
public OptionMetadata withHasChanged(Boolean hasChanged)
public OptionMetadata withUnmappedField(String name, String value)
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static OptionMetadata.Builder builder()
Copyright © 2018–2020. All rights reserved.