次の方法で共有


ArmCustomerInsightsModelFactory.PropertyDefinition メソッド

定義

PropertyDefinition の新しいインスタンスを初期化します。

public static Azure.ResourceManager.CustomerInsights.Models.PropertyDefinition PropertyDefinition(string arrayValueSeparator = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CustomerInsights.Models.ProfileEnumValidValuesFormat> enumValidValues = default, string fieldName = default, string fieldType = default, bool? isArray = default, bool? isEnum = default, bool? isFlagEnum = default, bool? isImage = default, bool? isLocalizedString = default, bool? isName = default, bool? isRequired = default, string propertyId = default, string schemaItemPropLink = default, int? maxLength = default, bool? isAvailableInGraph = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CustomerInsights.Models.DataSourcePrecedence> dataSourcePrecedenceRules = default);
static member PropertyDefinition : string * seq<Azure.ResourceManager.CustomerInsights.Models.ProfileEnumValidValuesFormat> * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * Nullable<int> * Nullable<bool> * seq<Azure.ResourceManager.CustomerInsights.Models.DataSourcePrecedence> -> Azure.ResourceManager.CustomerInsights.Models.PropertyDefinition
Public Shared Function PropertyDefinition (Optional arrayValueSeparator As String = Nothing, Optional enumValidValues As IEnumerable(Of ProfileEnumValidValuesFormat) = Nothing, Optional fieldName As String = Nothing, Optional fieldType As String = Nothing, Optional isArray As Nullable(Of Boolean) = Nothing, Optional isEnum As Nullable(Of Boolean) = Nothing, Optional isFlagEnum As Nullable(Of Boolean) = Nothing, Optional isImage As Nullable(Of Boolean) = Nothing, Optional isLocalizedString As Nullable(Of Boolean) = Nothing, Optional isName As Nullable(Of Boolean) = Nothing, Optional isRequired As Nullable(Of Boolean) = Nothing, Optional propertyId As String = Nothing, Optional schemaItemPropLink As String = Nothing, Optional maxLength As Nullable(Of Integer) = Nothing, Optional isAvailableInGraph As Nullable(Of Boolean) = Nothing, Optional dataSourcePrecedenceRules As IEnumerable(Of DataSourcePrecedence) = Nothing) As PropertyDefinition

パラメーター

arrayValueSeparator
String

isArray が設定されたプロパティの配列値の区切り記号。

enumValidValues
IEnumerable<ProfileEnumValidValuesFormat>

列挙型プロパティの有効な値について説明します。

fieldName
String

プロパティ名。

fieldType
String

プロパティの型。

isArray
Nullable<Boolean>

プロパティが実際にデータ API の上の fieldType の配列であるかどうかを示します。

isEnum
Nullable<Boolean>

プロパティが列挙型かどうかを示します。

isFlagEnum
Nullable<Boolean>

プロパティがフラグ列挙型かどうかを示します。

isImage
Nullable<Boolean>

プロパティが Image であるかどうかを示します。

isLocalizedString
Nullable<Boolean>

プロパティがローカライズされた文字列かどうか。

isName
Nullable<Boolean>

プロパティが名前であるか、名前の一部であるか。

isRequired
Nullable<Boolean>

インスタンスでプロパティ値が必要かどうかに関わらず、相互作用に対してのみ IsRequired フィールド。 プロファイル インスタンスは、必須フィールドに対してチェックされません。

propertyId
String

プロパティに関連付けられている ID。

schemaItemPropLink
String

プロパティのアイテム prop リンク schema.org エンコードされた URL。

maxLength
Nullable<Int32>

文字列の最大長。 type が string の場合にのみ使用されます。

isAvailableInGraph
Nullable<Boolean>

プロパティがグラフで使用できるかどうか。

dataSourcePrecedenceRules
IEnumerable<DataSourcePrecedence>

これは、アクティビティとしてモデル化された相互作用に固有です。 データ ソースは、データの格納場所と優先順位ルールを決定するために使用されます。

戻り値

モック作成用の新しい PropertyDefinition インスタンス。

適用対象