Search Results for

    Show / Hide Table of Contents

    Class WorkshopTemplateClient

    Inheritance
    System.Object
    WorkshopTemplateClient
    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: Simplic.PlugIn.Logistics.WebApi.Workshop
    Assembly: Simplic.PlugIn.Logistics.dll
    Syntax
    public class WorkshopTemplateClient

    Constructors

    | Improve this Doc View Source

    WorkshopTemplateClient(HttpClient)

    Declaration
    public WorkshopTemplateClient(HttpClient httpClient)
    Parameters
    Type Name Description
    System.Net.Http.HttpClient httpClient

    Properties

    | Improve this Doc View Source

    BaseUrl

    Declaration
    public string BaseUrl { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    JsonSerializerSettings

    Declaration
    protected Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get; }
    Property Value
    Type Description
    Newtonsoft.Json.JsonSerializerSettings
    | Improve this Doc View Source

    ReadResponseAsString

    Declaration
    public bool ReadResponseAsString { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

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

    Declaration
    protected virtual async Task<WorkshopTemplateClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Net.Http.HttpResponseMessage response
    System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>> headers
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<WorkshopTemplateClient.ObjectResponseResult<T>>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    WorkshopTemplateDeleteAsync(Guid)

    Declaration
    public virtual Task WorkshopTemplateDeleteAsync(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    System.Threading.Tasks.Task

    Success

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    | Improve this Doc View Source

    WorkshopTemplateDeleteAsync(Guid, CancellationToken)

    Declaration
    public virtual async Task WorkshopTemplateDeleteAsync(Guid id, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Guid id
    System.Threading.CancellationToken cancellationToken

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

    Returns
    Type Description
    System.Threading.Tasks.Task

    Success

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    | Improve this Doc View Source

    WorkshopTemplateGetAsync(Guid)

    Declaration
    public virtual Task<WorkshopTemplateModel> WorkshopTemplateGetAsync(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    System.Threading.Tasks.Task<WorkshopTemplateModel>

    Success

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    | Improve this Doc View Source

    WorkshopTemplateGetAsync(Guid, CancellationToken)

    Declaration
    public virtual async Task<WorkshopTemplateModel> WorkshopTemplateGetAsync(Guid id, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Guid id
    System.Threading.CancellationToken cancellationToken

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

    Returns
    Type Description
    System.Threading.Tasks.Task<WorkshopTemplateModel>

    Success

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    | Improve this Doc View Source

    WorkshopTemplatePatchAsync(Guid, PatchWorkshopTemplateRequest)

    Declaration
    public virtual Task<WorkshopTemplateModel> WorkshopTemplatePatchAsync(Guid id, PatchWorkshopTemplateRequest body)
    Parameters
    Type Name Description
    System.Guid id
    PatchWorkshopTemplateRequest body
    Returns
    Type Description
    System.Threading.Tasks.Task<WorkshopTemplateModel>

    Success

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    | Improve this Doc View Source

    WorkshopTemplatePatchAsync(Guid, PatchWorkshopTemplateRequest, CancellationToken)

    Declaration
    public virtual async Task<WorkshopTemplateModel> WorkshopTemplatePatchAsync(Guid id, PatchWorkshopTemplateRequest body, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Guid id
    PatchWorkshopTemplateRequest body
    System.Threading.CancellationToken cancellationToken

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

    Returns
    Type Description
    System.Threading.Tasks.Task<WorkshopTemplateModel>

    Success

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    | Improve this Doc View Source

    WorkshopTemplatePostAsync(CreateWorkshopTemplateRequest)

    Declaration
    public virtual Task<WorkshopTemplateModel> WorkshopTemplatePostAsync(CreateWorkshopTemplateRequest body)
    Parameters
    Type Name Description
    CreateWorkshopTemplateRequest body
    Returns
    Type Description
    System.Threading.Tasks.Task<WorkshopTemplateModel>

    Success

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    | Improve this Doc View Source

    WorkshopTemplatePostAsync(CreateWorkshopTemplateRequest, CancellationToken)

    Declaration
    public virtual async Task<WorkshopTemplateModel> WorkshopTemplatePostAsync(CreateWorkshopTemplateRequest body, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CreateWorkshopTemplateRequest body
    System.Threading.CancellationToken cancellationToken

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

    Returns
    Type Description
    System.Threading.Tasks.Task<WorkshopTemplateModel>

    Success

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx