Class CIMPrimitiveOverride
Represents a primitive override.
public class CIMPrimitiveOverride : CIMObject
- Inheritance
-
CIMPrimitiveOverride
- Inherited Members
Constructors
CIMPrimitiveOverride()
public CIMPrimitiveOverride()
Properties
Expression
Gets or sets the expression.
public string Expression { get; set; }
Property Value
Remarks
This property is used for Python or VBScript expressions. Arcade expressions will use the ValueExpressionInfo property.
PrimitiveName
Gets or sets the primitive name this override applies to.
public string PrimitiveName { get; set; }
Property Value
PropertyName
Gets or sets the property name in the primitive this override applies to.
public string PropertyName { get; set; }
Property Value
ValueExpressionInfo
Gets or sets ExpressionInfo that contains the Arcade expression that returns value as a number or a string depending on the PropertyName.
public CIMExpressionInfo ValueExpressionInfo { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMPrimitiveOverride with a specified state from a JSON encoding.
public static CIMPrimitiveOverride FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMPrimitiveOverride state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMPrimitiveOverride and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.