Table of Contents

Class SurveyResourceModel

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

Information about a survey's resource usage

public class SurveyResourceModel
Inheritance
SurveyResourceModel
Inherited Members

Properties

Channel

The survey channel

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

Property Value

SurveyChannel

ClientName

The client name for the survey

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

Property Value

string

CreationDate

The time at which the survey was created

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

Property Value

DateTimeOffset?

IsExcludedFromAutomaticCleanup

True if the survey is excluded from automatic deletion otherwise false

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

Property Value

bool

LastDataCollectionDate

Last time data was collected for the survey

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

Property Value

DateTimeOffset?

LastDataDownloadDate

Last time the survey was downloaded

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

Property Value

DateTimeOffset?

Name

The survey name

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

Property Value

string

Owner

Display name for the survey's owner

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

Property Value

string

Size

Size of the survey in bytes

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

Property Value

long?

State

The survey state

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

Property Value

SurveyState2

SurveyId

The survey id

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

Property Value

string

WillBeDeletedOn

Date on which the survey will be automatically deleted

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

Property Value

DateTimeOffset?

WillBeStoppedOn

Date on which the survey will be automatically stopped

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

Property Value

DateTimeOffset?