Search Results for

    Show / Hide Table of Contents

    Class CustomerAssetClient

    Contains methods to work around the limitations of the NSwag-generated code

    Inheritance
    object
    ClientBase
    CustomerAssetClient
    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 CustomerAssetClient : ClientBase, ICustomerAssetClient

    Constructors

    CustomerAssetClient(ICloudManagerServiceSettings, HttpClient)

    Declaration
    public CustomerAssetClient(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

    DeleteLogoAsync(string, LogoKind, CancellationToken)

    Declaration
    public virtual Task DeleteLogoAsync(string customerId, LogoKind type, CancellationToken cancellationToken = default)
    Parameters
    string customerId

    LogoKind type

    CancellationToken cancellationToken

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

    Returns
    Task

    Implements
    ICustomerAssetClient.DeleteLogoAsync(string, LogoKind, 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

    DeleteWatermarkAsync(string, string, CancellationToken)

    Declaration
    public virtual Task DeleteWatermarkAsync(string customerId, string fileName, CancellationToken cancellationToken = default)
    Parameters
    string customerId

    string fileName

    CancellationToken cancellationToken

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

    Returns
    Task

    Implements
    ICustomerAssetClient.DeleteWatermarkAsync(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

    PutLogoAsync(string, LogoKind, FileParameter, CancellationToken)

    Declaration
    public Task PutLogoAsync(string customerId, LogoKind type, FileParameter file, CancellationToken cancellationToken = default)
    Parameters
    string customerId

    LogoKind type

    FileParameter file

    CancellationToken cancellationToken

    Returns
    Task

    Implements
    ICustomerAssetClient.PutLogoAsync(string, LogoKind, FileParameter, CancellationToken)

    PutLogoCoreAsync(string, LogoKind, Stream, CancellationToken)

    Declaration
    protected virtual Task PutLogoCoreAsync(string customerId, LogoKind type, Stream body = null, CancellationToken cancellationToken = default)
    Parameters
    string customerId

    LogoKind type

    Stream body

    CancellationToken cancellationToken

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

    Returns
    Task

    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

    PutWatermarkAsync(string, FileParameter, CancellationToken)

    Declaration
    public Task PutWatermarkAsync(string customerId, FileParameter file, CancellationToken cancellationToken = default)
    Parameters
    string customerId

    FileParameter file

    CancellationToken cancellationToken

    Returns
    Task

    Implements
    ICustomerAssetClient.PutWatermarkAsync(string, FileParameter, CancellationToken)

    PutWatermarkCoreAsync(string, Stream, CancellationToken)

    Declaration
    protected virtual Task PutWatermarkCoreAsync(string customerId, Stream body = null, CancellationToken cancellationToken = default)
    Parameters
    string customerId

    Stream body

    CancellationToken cancellationToken

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

    Returns
    Task

    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<CustomerAssetClient.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<CustomerAssetClient.ObjectResponseResult<T>>

    Type Parameters
    T

    Back to top Generated by DocFX