Search Results for

    Show / Hide Table of Contents

    Class CustomerAssetClient

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

    Inheritance
    System.Object
    ClientBase
    CustomerAssetClient
    Inherited Members
    ClientBase.BaseUrl
    ClientBase.CreateHttpRequestMessageAsync(CancellationToken)
    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 CustomerAssetClient : ClientBase

    Constructors

    CustomerAssetClient(ICloudManagerServiceSettings, Http.HttpClient)

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

    DeleteLogoAsync(String, LogoKind, CancellationToken)

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

    LogoKind type

    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

    DeleteWatermarkAsync(String, String, CancellationToken)

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

    System.String fileName

    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

    PutLogoAsync(String, LogoKind, FileParameter, CancellationToken)

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

    LogoKind type

    FileParameter file

    System.Threading.CancellationToken cancellationToken

    Returns
    System.Threading.Tasks.Task

    PutLogoCoreAsync(String, LogoKind, Stream, CancellationToken)

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

    LogoKind type

    System.IO.Stream body

    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

    PutWatermarkAsync(String, FileParameter, CancellationToken)

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

    FileParameter file

    System.Threading.CancellationToken cancellationToken

    Returns
    System.Threading.Tasks.Task

    PutWatermarkCoreAsync(String, Stream, CancellationToken)

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

    System.IO.Stream body

    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

    ReadObjectResponseAsync<T>(Http.HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)

    Declaration
    protected virtual async Task<CustomerAssetClient.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<CustomerAssetClient.ObjectResponseResult<T>>

    Type Parameters
    T

    Back to top Generated by DocFX