Package microsoft.dynamics.crm.entity
Class ManagedPropertyMetadata
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmmodelbaseentity
-
- microsoft.dynamics.crm.entity.MetadataBase
-
- microsoft.dynamics.crm.entity.ManagedPropertyMetadata
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedPropertyMetadata extends MetadataBase implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedPropertyMetadata.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Labeldescriptionprotected LabeldisplayNameprotected StringenablesAttributeNameprotected StringenablesEntityNameprotected IntegererrorCodeprotected ManagedPropertyEvaluationPriorityevaluationPriorityprotected StringintroducedVersionprotected BooleanisGlobalForOperationprotected BooleanisPrivateprotected StringlogicalNameprotected ManagedPropertyTypemanagedPropertyTypeprotected ManagedPropertyOperationoperation-
Fields inherited from class microsoft.dynamics.crm.entity.MetadataBase
hasChanged, metadataId
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmmodelbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedPropertyMetadata()
-
Method Summary
-
Methods inherited from class microsoft.dynamics.crm.entity.MetadataBase
getHasChanged, getMetadataId, withHasChanged, withMetadataId
-
-
-
-
Field Detail
-
logicalName
protected String logicalName
-
displayName
protected Label displayName
-
managedPropertyType
protected ManagedPropertyType managedPropertyType
-
operation
protected ManagedPropertyOperation operation
-
isGlobalForOperation
protected Boolean isGlobalForOperation
-
evaluationPriority
protected ManagedPropertyEvaluationPriority evaluationPriority
-
isPrivate
protected Boolean isPrivate
-
errorCode
protected Integer errorCode
-
enablesEntityName
protected String enablesEntityName
-
enablesAttributeName
protected String enablesAttributeName
-
description
protected Label description
-
introducedVersion
protected String introducedVersion
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMetadataBase
-
builderManagedPropertyMetadata
public static ManagedPropertyMetadata.Builder builderManagedPropertyMetadata()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classMetadataBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMetadataBase
-
withLogicalName
public ManagedPropertyMetadata withLogicalName(String logicalName)
-
withDisplayName
public ManagedPropertyMetadata withDisplayName(Label displayName)
-
getManagedPropertyType
public Optional<ManagedPropertyType> getManagedPropertyType()
-
withManagedPropertyType
public ManagedPropertyMetadata withManagedPropertyType(ManagedPropertyType managedPropertyType)
-
getOperation
public Optional<ManagedPropertyOperation> getOperation()
-
withOperation
public ManagedPropertyMetadata withOperation(ManagedPropertyOperation operation)
-
withIsGlobalForOperation
public ManagedPropertyMetadata withIsGlobalForOperation(Boolean isGlobalForOperation)
-
getEvaluationPriority
public Optional<ManagedPropertyEvaluationPriority> getEvaluationPriority()
-
withEvaluationPriority
public ManagedPropertyMetadata withEvaluationPriority(ManagedPropertyEvaluationPriority evaluationPriority)
-
withIsPrivate
public ManagedPropertyMetadata withIsPrivate(Boolean isPrivate)
-
withErrorCode
public ManagedPropertyMetadata withErrorCode(Integer errorCode)
-
withEnablesEntityName
public ManagedPropertyMetadata withEnablesEntityName(String enablesEntityName)
-
withEnablesAttributeName
public ManagedPropertyMetadata withEnablesAttributeName(String enablesAttributeName)
-
withDescription
public ManagedPropertyMetadata withDescription(Label description)
-
withIntroducedVersion
public ManagedPropertyMetadata withIntroducedVersion(String introducedVersion)
-
withUnmappedField
public ManagedPropertyMetadata withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classMetadataBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMetadataBase
-
patch
public ManagedPropertyMetadata patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classMetadataBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ManagedPropertyMetadata put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classMetadataBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classMetadataBase
-
-