Search Results for

    Show / Hide Table of Contents

    Class CustomerServiceProviderClient

    Inheritance
    object
    ClientBase
    CustomerServiceProviderClient
    Inherited Members
    ClientBase.BaseUrl
    ClientBase.CreateHttpRequestMessageAsync(CancellationToken)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NSwag", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class CustomerServiceProviderClient : ClientBase, ICustomerServiceProviderClient

    Constructors

    CustomerServiceProviderClient(ICloudManagerServiceSettings, HttpClient)

    Declaration
    public CustomerServiceProviderClient(ICloudManagerServiceSettings configuration, HttpClient httpClient)
    Parameters
    ICloudManagerServiceSettings configuration

    HttpClient httpClient

    Properties

    JsonSerializerSettings

    Declaration
    protected JsonSerializerSettings JsonSerializerSettings { get; }
    Property Value
    JsonSerializerSettings

    ReadResponseAsString

    Declaration
    public bool ReadResponseAsString { get; set; }
    Property Value
    bool

    Methods

    CreateAsync(CustomerServiceProviderCreateRequest, CancellationToken)

    Declaration
    public virtual Task<CustomerServiceProvider> CreateAsync(CustomerServiceProviderCreateRequest request, CancellationToken cancellationToken = default)
    Parameters
    CustomerServiceProviderCreateRequest request

    CancellationToken cancellationToken

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

    Returns
    Task<CustomerServiceProvider>

    Implements
    ICustomerServiceProviderClient.CreateAsync(CustomerServiceProviderCreateRequest, CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    DeleteAsync(string, string, CancellationToken)

    Declaration
    public virtual Task DeleteAsync(string alias, string id, CancellationToken cancellationToken = default)
    Parameters
    string alias

    string id

    CancellationToken cancellationToken

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

    Returns
    Task

    Implements
    ICustomerServiceProviderClient.DeleteAsync(string, string, CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

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

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

    IReadOnlyDictionary<string, IEnumerable<string>> headers

    CancellationToken cancellationToken

    Returns
    Task<CustomerServiceProviderClient.ObjectResponseResult<T>>

    Type Parameters
    T

    Back to top Generated by DocFX