Table of Contents

Class SurveysWaveCheckMinSuccessfulsBeforeAutoStartClient

Namespace
Nfield.SDK
Assembly
Nfield.Public.SDK.dll
public class SurveysWaveCheckMinSuccessfulsBeforeAutoStartClient
Inheritance
SurveysWaveCheckMinSuccessfulsBeforeAutoStartClient
Inherited Members

Constructors

SurveysWaveCheckMinSuccessfulsBeforeAutoStartClient(string, HttpClient)

public SurveysWaveCheckMinSuccessfulsBeforeAutoStartClient(string baseUrl, HttpClient httpClient)

Parameters

baseUrl string
httpClient HttpClient

Properties

BaseUrl

public string BaseUrl { get; set; }

Property Value

string

JsonSerializerSettings

protected JsonSerializerSettings JsonSerializerSettings { get; }

Property Value

JsonSerializerSettings

ReadResponseAsString

public bool ReadResponseAsString { get; set; }

Property Value

bool

Methods

GetAsync(string, CancellationToken)

Gets the check setting of minimum successfuls before wave auto-start

public virtual Task<WaveCheckMinSuccessfulsBeforeAutoStartModel> GetAsync(string parentSurveyId, CancellationToken cancellationToken = default)

Parameters

parentSurveyId string
cancellationToken CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

Task<WaveCheckMinSuccessfulsBeforeAutoStartModel>

Successful

Exceptions

NfieldSdkException

A server side error occurred.

PutAsync(string, WaveCheckMinSuccessfulsBeforeAutoStartModel, CancellationToken)

Sets the check setting of minimum successfuls before wave auto-start

public virtual Task PutAsync(string parentSurveyId, WaveCheckMinSuccessfulsBeforeAutoStartModel checkMinSuccessfulsBeforeAutoStartModel, CancellationToken cancellationToken = default)

Parameters

parentSurveyId string
checkMinSuccessfulsBeforeAutoStartModel WaveCheckMinSuccessfulsBeforeAutoStartModel
cancellationToken CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

Task

Successful

Exceptions

NfieldSdkException

A server side error occurred.

ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)

protected virtual Task<SurveysWaveCheckMinSuccessfulsBeforeAutoStartClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)

Parameters

response HttpResponseMessage
headers IReadOnlyDictionary<string, IEnumerable<string>>
cancellationToken CancellationToken

Returns

Task<SurveysWaveCheckMinSuccessfulsBeforeAutoStartClient.ObjectResponseResult<T>>

Type Parameters

T