Table of Contents

Class SurveyPackageV1Model

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

Models the content of a published package (live/test) for a survey.

public class SurveyPackageV1Model
Inheritance
SurveyPackageV1Model
Inherited Members

Properties

ClientName

The client of the survey when this package was published

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

Property Value

string

Description

The description of the survey when this package was published

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

Property Value

string

ETag

The Etag for the package

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

Property Value

long

InstructionFile

The instruction file of the survey when this package was published

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

Property Value

SurveyPackageFileV1Model

InterviewerInstructionText

The instruction text of the survey when this package was published

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

Property Value

string

Languages

The defined languages and translations of the survey when this package was published

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

Property Value

ICollection<SurveyPackageLanguageV1Model>

MediaFiles

The media files of the survey when this package was published

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

Property Value

ICollection<SurveyPackageFileV1Model>

Owner

The owner of the survey when this package was published

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

Property Value

string

QuestionnaireMd5

The md5 of the questionnaire when this package was published

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

Property Value

string

Relocations

The relocations of the survey when this package was published

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

Property Value

ICollection<SurveyPackageRelocationV1Model>

ResponseCodes

Survey response codes.

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

Property Value

ICollection<SurveyResponseCodeV1Model>

Settings

The settings of the survey when this package was published

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

Property Value

ICollection<SurveySettingModel>

SurveyName

The name of the survey when this package was published

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

Property Value

string