Table of Contents

Class SurveyResponseCodeModel

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

Model representing SurveySpecificResponseCode

public class SurveyResponseCodeModel
Inheritance
SurveyResponseCodeModel
Inherited Members

Properties

AllowAppointment

Determines if the Response code is meant for an appointment or not (IsIntermediate - true or false). If it is an appointment, IsDefinite should be false.

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

Property Value

bool?

Description

User defined description of the response code given

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

Property Value

string

IsDefinite

Determines if the Response code is a definitive or not (IsFinal - true or false). if it is definitive, AllowAppointment should be false.

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

Property Value

bool?

IsSelectable

Determines if response code is visible on dropdown list for Capi Client

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

Property Value

bool?

RelocationUrl

Relocation url of the response code

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

Property Value

string

ResponseCode

User defined response code for the survey

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

Property Value

int