Table of Contents

Class SurveyQuotaVariableDefinitionModel

Namespace
Nfield.SDK
Assembly
Nfield.Public.SDK.dll

Survey quota Variable Definition. Represents only the definition of the variable and not the assignment to the Survey

public class SurveyQuotaVariableDefinitionModel
Inheritance
SurveyQuotaVariableDefinitionModel
Inherited Members

Properties

Id

Quota Variable definition ID

[JsonProperty("Id", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public Guid Id { get; set; }

Property Value

Guid

IsMulti

Allows to the variable has multible values

[JsonProperty("IsMulti", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public bool IsMulti { get; set; }

Property Value

bool

IsSelectionOptional

Makes the variable selection Optional

[JsonProperty("IsSelectionOptional", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public bool? IsSelectionOptional { get; set; }

Property Value

bool?

IsTargetable

Variable is targetable

[JsonProperty("IsTargetable", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public bool IsTargetable { get; set; }

Property Value

bool

Levels

Selectable Levels for the variable

[JsonProperty("Levels", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<SurveyQuotaLevelDefinitionModel> Levels { get; set; }

Property Value

ICollection<SurveyQuotaLevelDefinitionModel>

Name

Name of the quota variable

[JsonProperty("Name", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Name { get; set; }

Property Value

string

OdinVariableName

Name of the quota variable to be used in the odin script

[JsonProperty("OdinVariableName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string OdinVariableName { get; set; }

Property Value

string