Search Results for

    Show / Hide Table of Contents

    Class ContactGroupsClient

    Inheritance
    System.Object
    ContactGroupsClient
    Implements
    IContactGroupsClient
    Namespace: FastReport.Cloud.Client
    Assembly: FastReport.Cloud.SDK.dll
    Syntax
    public class ContactGroupsClient : object, IContactGroupsClient

    Constructors

    ContactGroupsClient(System.Net.Http.HttpClient)

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

    Properties

    JsonSerializerSettings

    Declaration
    protected Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get; }
    Property Value
    Type Description
    Newtonsoft.Json.JsonSerializerSettings

    ReadResponseAsString

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

    Methods

    Create(CreateContactGroupVM)

    Creates contact group

    Declaration
    public virtual ContactGroupVM Create(CreateContactGroupVM body = null)
    Parameters
    Type Name Description
    CreateContactGroupVM body
    Returns
    Type Description
    ContactGroupVM

    Contact group was created

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    CreateAsync(CreateContactGroupVM, System.Threading.CancellationToken)

    Creates contact group

    Declaration
    public virtual async System.Threading.Tasks.Task<ContactGroupVM> CreateAsync(CreateContactGroupVM body = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    CreateContactGroupVM 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<ContactGroupVM>

    Contact group was created

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    Delete(String)

    Removes contact by id

    Declaration
    public virtual void Delete(string id)
    Parameters
    Type Name Description
    System.String id
    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    DeleteAsync(String, System.Threading.CancellationToken)

    Removes contact by id

    Declaration
    public virtual async System.Threading.Tasks.Task DeleteAsync(string id, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String 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

    Contact group was deleted

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    Get(String)

    Returns contact group by id

    Declaration
    public virtual ContactGroupVM Get(string id)
    Parameters
    Type Name Description
    System.String id
    Returns
    Type Description
    ContactGroupVM

    Contact group was found

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetAsync(String, System.Threading.CancellationToken)

    Returns contact group by id

    Declaration
    public virtual async System.Threading.Tasks.Task<ContactGroupVM> GetAsync(string id, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String 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<ContactGroupVM>

    Contact group was found

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetList(String, Nullable<Int32>, Nullable<Int32>)

    Returns contact groups by subscriptionId

    Declaration
    public virtual ContactGroupsVM GetList(string subscriptionId, int? skip = null, int? take = null)
    Parameters
    Type Name Description
    System.String subscriptionId
    System.Nullable<System.Int32> skip
    System.Nullable<System.Int32> take
    Returns
    Type Description
    ContactGroupsVM

    Contact groups were found

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetListAsync(String, Nullable<Int32>, Nullable<Int32>, System.Threading.CancellationToken)

    Returns contact groups by subscriptionId

    Declaration
    public virtual async System.Threading.Tasks.Task<ContactGroupsVM> GetListAsync(string subscriptionId, int? skip = null, int? take = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String subscriptionId
    System.Nullable<System.Int32> skip
    System.Nullable<System.Int32> take
    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<ContactGroupsVM>

    Contact groups were found

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    ReadObjectResponseAsync<T>(System.Net.Http.HttpResponseMessage, System.Collections.Generic.IReadOnlyDictionary<String, System.Collections.Generic.IEnumerable<String>>, System.Threading.CancellationToken)

    Declaration
    protected virtual async System.Threading.Tasks.Task<ContactGroupsClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IEnumerable<string>> headers, System.Threading.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<ContactGroupsClient.ObjectResponseResult<T>>
    Type Parameters
    Name Description
    T

    Update(String, UpdateContactGroupVM)

    Updates contact group by id

    Declaration
    public virtual ContactGroupVM Update(string id, UpdateContactGroupVM body = null)
    Parameters
    Type Name Description
    System.String id
    UpdateContactGroupVM body
    Returns
    Type Description
    ContactGroupVM

    Contact group was updated

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    UpdateAsync(String, UpdateContactGroupVM, System.Threading.CancellationToken)

    Updates contact group by id

    Declaration
    public virtual async System.Threading.Tasks.Task<ContactGroupVM> UpdateAsync(string id, UpdateContactGroupVM body = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id
    UpdateContactGroupVM 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<ContactGroupVM>

    Contact group was updated

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    Implements

    IContactGroupsClient
    Back to top 2025.2.5 © 1998-2025 Copyright Fast Reports Inc.