PropertyDefinition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Property definition.
public class PropertyDefinition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CustomerInsights.Models.PropertyDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CustomerInsights.Models.PropertyDefinition>
type PropertyDefinition = class
interface IJsonModel<PropertyDefinition>
interface IPersistableModel<PropertyDefinition>
Public Class PropertyDefinition
Implements IJsonModel(Of PropertyDefinition), IPersistableModel(Of PropertyDefinition)
- Inheritance
-
PropertyDefinition
- Implements
Constructors
PropertyDefinition(String, String) |
Initializes a new instance of PropertyDefinition. |
Properties
ArrayValueSeparator |
Array value separator for properties with isArray set. |
DataSourcePrecedenceRules |
This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules. |
EnumValidValues |
Describes valid values for an enum property. |
FieldName |
Name of the property. |
FieldType |
Type of the property. |
IsArray |
Indicates if the property is actually an array of the fieldType above on the data api. |
IsAvailableInGraph |
Whether property is available in graph or not. |
IsEnum |
Indicates if the property is an enum. |
IsFlagEnum |
Indicates if the property is an flag enum. |
IsImage |
Whether the property is an Image. |
IsLocalizedString |
Whether the property is a localized string. |
IsName |
Whether the property is a name or a part of name. |
IsRequired |
Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field. |
MaxLength |
Max length of string. Used only if type is string. |
PropertyId |
The ID associated with the property. |
SchemaItemPropLink |
URL encoded schema.org item prop link for the property. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<PropertyDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<PropertyDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<PropertyDefinition>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<PropertyDefinition>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<PropertyDefinition>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |