Class CustomerSettingClient
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Syntax
public class CustomerSettingClient : ClientBase
Constructors
CustomerSettingClient(ICloudManagerServiceSettings, Http.HttpClient)
Declaration
public CustomerSettingClient(ICloudManagerServiceSettings configuration, Http.HttpClient httpClient)
Parameters
Picturepark.SDK.V1.Partial.Picturepark.SDK.V1.CloudManager.Picturepark.SDK.V1.CloudManager.ICloudManagerServiceSettings
configuration
|
System.Net.Http.HttpClient
httpClient
|
Properties
JsonSerializerSettings
Declaration
protected Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Newtonsoft.Json.JsonSerializerSettings
|
ReadResponseAsString
Declaration
public bool ReadResponseAsString { get; set; }
Property Value
System.Boolean
|
Methods
GetAsync(String, CancellationToken)
Declaration
public virtual async Task<CustomerSettings> GetAsync(string customerId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
customerId
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<CustomerSettings>
|
ReadObjectResponseAsync<T>(Http.HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)
Declaration
protected virtual async Task<CustomerSettingClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(Http.HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
System.Net.Http.HttpResponseMessage
response
|
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>>
headers
|
System.Threading.CancellationToken
cancellationToken
|
Returns
System.Threading.Tasks.Task<CustomerSettingClient.ObjectResponseResult<T>>
|
Type Parameters
T
|
UpdateAsync(String, CustomerSettingsUpdateRequest, CancellationToken)
Declaration
public virtual async Task<CustomerSettings> UpdateAsync(string customerId, CustomerSettingsUpdateRequest updateRequest, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
customerId
|
CustomerSettingsUpdateRequest
updateRequest
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<CustomerSettings>
|