Table of Contents

Class InternalSurveyModel

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

The model representing a Survey, this is a Data Transfer Object (DTO).

public class InternalSurveyModel : SurveyBaseModel
Inheritance
InternalSurveyModel
Derived
Inherited Members

Properties

ClientName

Gets or sets the name of the client, e.g. Coca Cola.

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

Property Value

string

Description

The description of the survey

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

Property Value

string

InterviewerInstruction

The default interviewer instruction of a survey

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

Property Value

string

IsBlueprint

True if this survey is a blueprint, otherwise false.

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

Property Value

bool

QuestionnaireMD5

The Md5 hash of the current (compiled) questionnaire

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

Property Value

string

SurveyGroupId

The survey group this survey belongs to

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

Property Value

int

SurveyState

The current state of a survey

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

Property Value

SurveyState

SurveyType

Gets or sets the type of the survey.

[JsonProperty("SurveyType", Required = Required.Always)]
[Required]
public string SurveyType { get; set; }

Property Value

string