Package microsoft.dynamics.crm.complex
Class OptionMetadata
- java.lang.Object
-
- microsoft.dynamics.crm.complex.OptionMetadata
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
StateOptionMetadata,StatusOptionMetadata
public class OptionMetadata extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOptionMetadata.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcolorprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Labeldescriptionprotected StringexternalValueprotected BooleanhasChangedprotected BooleanisManagedprotected Labellabelprotected StringmetadataIdprotected StringodataTypeprotected List<Integer>parentValuesprotected StringparentValuesNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected Integervalue
-
Constructor Summary
Constructors Modifier Constructor Description protectedOptionMetadata()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
value
protected Integer value
-
label
protected Label label
-
description
protected Label description
-
color
protected String color
-
isManaged
protected Boolean isManaged
-
externalValue
protected String externalValue
-
parentValuesNextLink
protected String parentValuesNextLink
-
metadataId
protected String metadataId
-
hasChanged
protected Boolean hasChanged
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withValue
public OptionMetadata withValue(Integer value)
-
withLabel
public OptionMetadata withLabel(Label label)
-
withDescription
public OptionMetadata withDescription(Label description)
-
withColor
public OptionMetadata withColor(String color)
-
withIsManaged
public OptionMetadata withIsManaged(Boolean isManaged)
-
withExternalValue
public OptionMetadata withExternalValue(String externalValue)
-
getParentValues
public com.github.davidmoten.odata.client.CollectionPage<Integer> getParentValues()
-
getParentValues
public com.github.davidmoten.odata.client.CollectionPage<Integer> getParentValues(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withMetadataId
public OptionMetadata withMetadataId(String metadataId)
-
withHasChanged
public OptionMetadata withHasChanged(Boolean hasChanged)
-
withUnmappedField
public OptionMetadata withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static OptionMetadata.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-