Search Results for

    Show / Hide Table of Contents

    Class ConnectorControllerApi

    Represents a collection of functions to interact with the API endpoints

    Inheritance
    object
    ConnectorControllerApi
    Implements
    IConnectorControllerApi
    IConnectorControllerApiSync
    IConnectorControllerApiAsync
    IApiAccessor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: mailslurp.Api
    Assembly: mailslurp.dll
    Syntax
    public class ConnectorControllerApi : IConnectorControllerApi, IConnectorControllerApiSync, IConnectorControllerApiAsync, IApiAccessor

    Constructors

    View Source

    ConnectorControllerApi()

    Initializes a new instance of the ConnectorControllerApi class.

    Declaration
    public ConnectorControllerApi()
    View Source

    ConnectorControllerApi(Configuration)

    Initializes a new instance of the ConnectorControllerApi class using Configuration object

    Declaration
    public ConnectorControllerApi(Configuration configuration)
    Parameters
    Type Name Description
    Configuration configuration

    An instance of Configuration

    View Source

    ConnectorControllerApi(ISynchronousClient, IAsynchronousClient, IReadableConfiguration)

    Initializes a new instance of the ConnectorControllerApi class using a Configuration object and client instance.

    Declaration
    public ConnectorControllerApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration)
    Parameters
    Type Name Description
    ISynchronousClient client

    The client interface for synchronous API access.

    IAsynchronousClient asyncClient

    The client interface for asynchronous API access.

    IReadableConfiguration configuration

    The configuration object.

    View Source

    ConnectorControllerApi(string)

    Initializes a new instance of the ConnectorControllerApi class.

    Declaration
    public ConnectorControllerApi(string basePath)
    Parameters
    Type Name Description
    string basePath

    Properties

    View Source

    AsynchronousClient

    The client for accessing this underlying API asynchronously.

    Declaration
    public IAsynchronousClient AsynchronousClient { get; set; }
    Property Value
    Type Description
    IAsynchronousClient
    View Source

    Client

    The client for accessing this underlying API synchronously.

    Declaration
    public ISynchronousClient Client { get; set; }
    Property Value
    Type Description
    ISynchronousClient
    View Source

    Configuration

    Gets or sets the configuration object

    Declaration
    public IReadableConfiguration Configuration { get; set; }
    Property Value
    Type Description
    IReadableConfiguration

    An instance of the Configuration

    View Source

    ExceptionFactory

    Provides a factory method hook for the creation of exceptions.

    Declaration
    public ExceptionFactory ExceptionFactory { get; set; }
    Property Value
    Type Description
    ExceptionFactory

    Methods

    View Source

    CreateConnector(CreateConnectorOptions, int)

    Create an inbox connector Sync emails between external mailboxes and MailSlurp inboxes

    Declaration
    public ConnectorDto CreateConnector(CreateConnectorOptions createConnectorOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    CreateConnectorOptions createConnectorOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ConnectorDto

    ConnectorDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorAsync(CreateConnectorOptions, int, CancellationToken)

    Create an inbox connector Sync emails between external mailboxes and MailSlurp inboxes

    Declaration
    public Task<ConnectorDto> CreateConnectorAsync(CreateConnectorOptions createConnectorOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CreateConnectorOptions createConnectorOptions
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ConnectorDto>

    Task of ConnectorDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorImapConnection(Guid, CreateConnectorImapConnectionOptions, int)

    Create an inbox connector IMAP connection Allows the reading of emails in an external mailbox and syncing to a MailSlurp inbox

    Declaration
    public ConnectorImapConnectionDto CreateConnectorImapConnection(Guid id, CreateConnectorImapConnectionOptions createConnectorImapConnectionOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorImapConnectionOptions createConnectorImapConnectionOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ConnectorImapConnectionDto

    ConnectorImapConnectionDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorImapConnectionAsync(Guid, CreateConnectorImapConnectionOptions, int, CancellationToken)

    Create an inbox connector IMAP connection Allows the reading of emails in an external mailbox and syncing to a MailSlurp inbox

    Declaration
    public Task<ConnectorImapConnectionDto> CreateConnectorImapConnectionAsync(Guid id, CreateConnectorImapConnectionOptions createConnectorImapConnectionOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorImapConnectionOptions createConnectorImapConnectionOptions
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ConnectorImapConnectionDto>

    Task of ConnectorImapConnectionDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorImapConnectionWithHttpInfo(Guid, CreateConnectorImapConnectionOptions, int)

    Create an inbox connector IMAP connection Allows the reading of emails in an external mailbox and syncing to a MailSlurp inbox

    Declaration
    public ApiResponse<ConnectorImapConnectionDto> CreateConnectorImapConnectionWithHttpInfo(Guid id, CreateConnectorImapConnectionOptions createConnectorImapConnectionOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorImapConnectionOptions createConnectorImapConnectionOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ConnectorImapConnectionDto>

    ApiResponse of ConnectorImapConnectionDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorImapConnectionWithHttpInfoAsync(Guid, CreateConnectorImapConnectionOptions, int, CancellationToken)

    Create an inbox connector IMAP connection Allows the reading of emails in an external mailbox and syncing to a MailSlurp inbox

    Declaration
    public Task<ApiResponse<ConnectorImapConnectionDto>> CreateConnectorImapConnectionWithHttpInfoAsync(Guid id, CreateConnectorImapConnectionOptions createConnectorImapConnectionOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorImapConnectionOptions createConnectorImapConnectionOptions
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<ConnectorImapConnectionDto>>

    Task of ApiResponse (ConnectorImapConnectionDto)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorSmtpConnection(Guid, CreateConnectorSmtpConnectionOptions, int)

    Create an inbox connector SMTP connection Allows sending via connector and email is routed to connected inbox and sent via SMTP

    Declaration
    public ConnectorSmtpConnectionDto CreateConnectorSmtpConnection(Guid id, CreateConnectorSmtpConnectionOptions createConnectorSmtpConnectionOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorSmtpConnectionOptions createConnectorSmtpConnectionOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ConnectorSmtpConnectionDto

    ConnectorSmtpConnectionDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorSmtpConnectionAsync(Guid, CreateConnectorSmtpConnectionOptions, int, CancellationToken)

    Create an inbox connector SMTP connection Allows sending via connector and email is routed to connected inbox and sent via SMTP

    Declaration
    public Task<ConnectorSmtpConnectionDto> CreateConnectorSmtpConnectionAsync(Guid id, CreateConnectorSmtpConnectionOptions createConnectorSmtpConnectionOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorSmtpConnectionOptions createConnectorSmtpConnectionOptions
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ConnectorSmtpConnectionDto>

    Task of ConnectorSmtpConnectionDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorSmtpConnectionWithHttpInfo(Guid, CreateConnectorSmtpConnectionOptions, int)

    Create an inbox connector SMTP connection Allows sending via connector and email is routed to connected inbox and sent via SMTP

    Declaration
    public ApiResponse<ConnectorSmtpConnectionDto> CreateConnectorSmtpConnectionWithHttpInfo(Guid id, CreateConnectorSmtpConnectionOptions createConnectorSmtpConnectionOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorSmtpConnectionOptions createConnectorSmtpConnectionOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ConnectorSmtpConnectionDto>

    ApiResponse of ConnectorSmtpConnectionDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorSmtpConnectionWithHttpInfoAsync(Guid, CreateConnectorSmtpConnectionOptions, int, CancellationToken)

    Create an inbox connector SMTP connection Allows sending via connector and email is routed to connected inbox and sent via SMTP

    Declaration
    public Task<ApiResponse<ConnectorSmtpConnectionDto>> CreateConnectorSmtpConnectionWithHttpInfoAsync(Guid id, CreateConnectorSmtpConnectionOptions createConnectorSmtpConnectionOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorSmtpConnectionOptions createConnectorSmtpConnectionOptions
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<ConnectorSmtpConnectionDto>>

    Task of ApiResponse (ConnectorSmtpConnectionDto)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorWithHttpInfo(CreateConnectorOptions, int)

    Create an inbox connector Sync emails between external mailboxes and MailSlurp inboxes

    Declaration
    public ApiResponse<ConnectorDto> CreateConnectorWithHttpInfo(CreateConnectorOptions createConnectorOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    CreateConnectorOptions createConnectorOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ConnectorDto>

    ApiResponse of ConnectorDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateConnectorWithHttpInfoAsync(CreateConnectorOptions, int, CancellationToken)

    Create an inbox connector Sync emails between external mailboxes and MailSlurp inboxes

    Declaration
    public Task<ApiResponse<ConnectorDto>> CreateConnectorWithHttpInfoAsync(CreateConnectorOptions createConnectorOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CreateConnectorOptions createConnectorOptions
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<ConnectorDto>>

    Task of ApiResponse (ConnectorDto)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteAllConnector(int)

    Delete all inbox connectors

    Declaration
    public void DeleteAllConnector(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteAllConnectorAsync(int, CancellationToken)

    Delete all inbox connectors

    Declaration
    public Task DeleteAllConnectorAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task

    Task of void

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteAllConnectorWithHttpInfo(int)

    Delete all inbox connectors

    Declaration
    public ApiResponse<object> DeleteAllConnectorWithHttpInfo(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<object>

    ApiResponse of Object(void)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteAllConnectorWithHttpInfoAsync(int, CancellationToken)

    Delete all inbox connectors

    Declaration
    public Task<ApiResponse<object>> DeleteAllConnectorWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<object>>

    Task of ApiResponse

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnector(Guid, int)

    Delete an inbox connector

    Declaration
    public void DeleteConnector(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorAsync(Guid, int, CancellationToken)

    Delete an inbox connector

    Declaration
    public Task DeleteConnectorAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task

    Task of void

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorImapConnection(Guid, int)

    Delete an inbox connector IMAP connection Delete IMAP connection for external inbox

    Declaration
    public void DeleteConnectorImapConnection(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorImapConnectionAsync(Guid, int, CancellationToken)

    Delete an inbox connector IMAP connection Delete IMAP connection for external inbox

    Declaration
    public Task DeleteConnectorImapConnectionAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task

    Task of void

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorImapConnectionWithHttpInfo(Guid, int)

    Delete an inbox connector IMAP connection Delete IMAP connection for external inbox

    Declaration
    public ApiResponse<object> DeleteConnectorImapConnectionWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<object>

    ApiResponse of Object(void)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorImapConnectionWithHttpInfoAsync(Guid, int, CancellationToken)

    Delete an inbox connector IMAP connection Delete IMAP connection for external inbox

    Declaration
    public Task<ApiResponse<object>> DeleteConnectorImapConnectionWithHttpInfoAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<object>>

    Task of ApiResponse

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorSmtpConnection(Guid, int)

    Delete an inbox connector SMTP connection Delete SMTP connection for external inbox

    Declaration
    public void DeleteConnectorSmtpConnection(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorSmtpConnectionAsync(Guid, int, CancellationToken)

    Delete an inbox connector SMTP connection Delete SMTP connection for external inbox

    Declaration
    public Task DeleteConnectorSmtpConnectionAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task

    Task of void

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorSmtpConnectionWithHttpInfo(Guid, int)

    Delete an inbox connector SMTP connection Delete SMTP connection for external inbox

    Declaration
    public ApiResponse<object> DeleteConnectorSmtpConnectionWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<object>

    ApiResponse of Object(void)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorSmtpConnectionWithHttpInfoAsync(Guid, int, CancellationToken)

    Delete an inbox connector SMTP connection Delete SMTP connection for external inbox

    Declaration
    public Task<ApiResponse<object>> DeleteConnectorSmtpConnectionWithHttpInfoAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<object>>

    Task of ApiResponse

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorWithHttpInfo(Guid, int)

    Delete an inbox connector

    Declaration
    public ApiResponse<object> DeleteConnectorWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<object>

    ApiResponse of Object(void)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteConnectorWithHttpInfoAsync(Guid, int, CancellationToken)

    Delete an inbox connector

    Declaration
    public Task<ApiResponse<object>> DeleteConnectorWithHttpInfoAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<object>>

    Task of ApiResponse

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetAllConnectorSyncEvents(int?, int?, string, DateTime?, DateTime?, int)

    Get all inbox connector sync events

    Declaration
    public PageConnectorSyncEvents GetAllConnectorSyncEvents(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageConnectorSyncEvents

    PageConnectorSyncEvents

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetAllConnectorSyncEventsAsync(int?, int?, string, DateTime?, DateTime?, int, CancellationToken)

    Get all inbox connector sync events

    Declaration
    public Task<PageConnectorSyncEvents> GetAllConnectorSyncEventsAsync(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<PageConnectorSyncEvents>

    Task of PageConnectorSyncEvents

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetAllConnectorSyncEventsWithHttpInfo(int?, int?, string, DateTime?, DateTime?, int)

    Get all inbox connector sync events

    Declaration
    public ApiResponse<PageConnectorSyncEvents> GetAllConnectorSyncEventsWithHttpInfo(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageConnectorSyncEvents>

    ApiResponse of PageConnectorSyncEvents

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetAllConnectorSyncEventsWithHttpInfoAsync(int?, int?, string, DateTime?, DateTime?, int, CancellationToken)

    Get all inbox connector sync events

    Declaration
    public Task<ApiResponse<PageConnectorSyncEvents>> GetAllConnectorSyncEventsWithHttpInfoAsync(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<PageConnectorSyncEvents>>

    Task of ApiResponse (PageConnectorSyncEvents)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetBasePath()

    Gets the base path of the API client.

    Declaration
    public string GetBasePath()
    Returns
    Type Description
    string

    The base path

    View Source

    GetConnector(Guid, int)

    Get an inbox connector

    Declaration
    public ConnectorDto GetConnector(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ConnectorDto

    ConnectorDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorAsync(Guid, int, CancellationToken)

    Get an inbox connector

    Declaration
    public Task<ConnectorDto> GetConnectorAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ConnectorDto>

    Task of ConnectorDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectors(int?, int?, string, DateTime?, DateTime?, int)

    Get inbox connectors List inbox connectors that sync external emails to MailSlurp inboxes

    Declaration
    public PageConnector GetConnectors(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageConnector

    PageConnector

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorsAsync(int?, int?, string, DateTime?, DateTime?, int, CancellationToken)

    Get inbox connectors List inbox connectors that sync external emails to MailSlurp inboxes

    Declaration
    public Task<PageConnector> GetConnectorsAsync(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<PageConnector>

    Task of PageConnector

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorsWithHttpInfo(int?, int?, string, DateTime?, DateTime?, int)

    Get inbox connectors List inbox connectors that sync external emails to MailSlurp inboxes

    Declaration
    public ApiResponse<PageConnector> GetConnectorsWithHttpInfo(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageConnector>

    ApiResponse of PageConnector

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorsWithHttpInfoAsync(int?, int?, string, DateTime?, DateTime?, int, CancellationToken)

    Get inbox connectors List inbox connectors that sync external emails to MailSlurp inboxes

    Declaration
    public Task<ApiResponse<PageConnector>> GetConnectorsWithHttpInfoAsync(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<PageConnector>>

    Task of ApiResponse (PageConnector)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorSyncEvent(Guid, int)

    Get an inbox connector sync event

    Declaration
    public ConnectorSyncEventDto GetConnectorSyncEvent(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ConnectorSyncEventDto

    ConnectorSyncEventDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorSyncEventAsync(Guid, int, CancellationToken)

    Get an inbox connector sync event

    Declaration
    public Task<ConnectorSyncEventDto> GetConnectorSyncEventAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ConnectorSyncEventDto>

    Task of ConnectorSyncEventDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorSyncEvents(Guid, int?, int?, string, DateTime?, DateTime?, int)

    Get an inbox connector sync events

    Declaration
    public PageConnectorSyncEvents GetConnectorSyncEvents(Guid id, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageConnectorSyncEvents

    PageConnectorSyncEvents

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorSyncEventsAsync(Guid, int?, int?, string, DateTime?, DateTime?, int, CancellationToken)

    Get an inbox connector sync events

    Declaration
    public Task<PageConnectorSyncEvents> GetConnectorSyncEventsAsync(Guid id, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<PageConnectorSyncEvents>

    Task of PageConnectorSyncEvents

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorSyncEventsWithHttpInfo(Guid, int?, int?, string, DateTime?, DateTime?, int)

    Get an inbox connector sync events

    Declaration
    public ApiResponse<PageConnectorSyncEvents> GetConnectorSyncEventsWithHttpInfo(Guid id, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageConnectorSyncEvents>

    ApiResponse of PageConnectorSyncEvents

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorSyncEventsWithHttpInfoAsync(Guid, int?, int?, string, DateTime?, DateTime?, int, CancellationToken)

    Get an inbox connector sync events

    Declaration
    public Task<ApiResponse<PageConnectorSyncEvents>> GetConnectorSyncEventsWithHttpInfoAsync(Guid id, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int? page

    Optional page index in connector list pagination (optional, default to 0)

    int? size

    Optional page size in connector list pagination (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    DateTime? since

    Filter by created at after the given timestamp (optional)

    DateTime? before

    Filter by created at before the given timestamp (optional)

    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<PageConnectorSyncEvents>>

    Task of ApiResponse (PageConnectorSyncEvents)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorSyncEventWithHttpInfo(Guid, int)

    Get an inbox connector sync event

    Declaration
    public ApiResponse<ConnectorSyncEventDto> GetConnectorSyncEventWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ConnectorSyncEventDto>

    ApiResponse of ConnectorSyncEventDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorSyncEventWithHttpInfoAsync(Guid, int, CancellationToken)

    Get an inbox connector sync event

    Declaration
    public Task<ApiResponse<ConnectorSyncEventDto>> GetConnectorSyncEventWithHttpInfoAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<ConnectorSyncEventDto>>

    Task of ApiResponse (ConnectorSyncEventDto)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorWithHttpInfo(Guid, int)

    Get an inbox connector

    Declaration
    public ApiResponse<ConnectorDto> GetConnectorWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ConnectorDto>

    ApiResponse of ConnectorDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetConnectorWithHttpInfoAsync(Guid, int, CancellationToken)

    Get an inbox connector

    Declaration
    public Task<ApiResponse<ConnectorDto>> GetConnectorWithHttpInfoAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<ConnectorDto>>

    Task of ApiResponse (ConnectorDto)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    SyncConnector(Guid, int)

    Sync an inbox connector

    Declaration
    public ConnectorSyncRequestResult SyncConnector(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ConnectorSyncRequestResult

    ConnectorSyncRequestResult

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    SyncConnectorAsync(Guid, int, CancellationToken)

    Sync an inbox connector

    Declaration
    public Task<ConnectorSyncRequestResult> SyncConnectorAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ConnectorSyncRequestResult>

    Task of ConnectorSyncRequestResult

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    SyncConnectorWithHttpInfo(Guid, int)

    Sync an inbox connector

    Declaration
    public ApiResponse<ConnectorSyncRequestResult> SyncConnectorWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ConnectorSyncRequestResult>

    ApiResponse of ConnectorSyncRequestResult

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    SyncConnectorWithHttpInfoAsync(Guid, int, CancellationToken)

    Sync an inbox connector

    Declaration
    public Task<ApiResponse<ConnectorSyncRequestResult>> SyncConnectorWithHttpInfoAsync(Guid id, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<ConnectorSyncRequestResult>>

    Task of ApiResponse (ConnectorSyncRequestResult)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    UpdateConnector(Guid, CreateConnectorOptions, int)

    Update an inbox connector

    Declaration
    public ConnectorDto UpdateConnector(Guid id, CreateConnectorOptions createConnectorOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorOptions createConnectorOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ConnectorDto

    ConnectorDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    UpdateConnectorAsync(Guid, CreateConnectorOptions, int, CancellationToken)

    Update an inbox connector

    Declaration
    public Task<ConnectorDto> UpdateConnectorAsync(Guid id, CreateConnectorOptions createConnectorOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorOptions createConnectorOptions
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ConnectorDto>

    Task of ConnectorDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    UpdateConnectorWithHttpInfo(Guid, CreateConnectorOptions, int)

    Update an inbox connector

    Declaration
    public ApiResponse<ConnectorDto> UpdateConnectorWithHttpInfo(Guid id, CreateConnectorOptions createConnectorOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorOptions createConnectorOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ConnectorDto>

    ApiResponse of ConnectorDto

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    UpdateConnectorWithHttpInfoAsync(Guid, CreateConnectorOptions, int, CancellationToken)

    Update an inbox connector

    Declaration
    public Task<ApiResponse<ConnectorDto>> UpdateConnectorWithHttpInfoAsync(Guid id, CreateConnectorOptions createConnectorOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    System.Guid id
    CreateConnectorOptions createConnectorOptions
    int operationIndex

    Index associated with the operation.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task<ApiResponse<ConnectorDto>>

    Task of ApiResponse (ConnectorDto)

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    Implements

    IConnectorControllerApi
    IConnectorControllerApiSync
    IConnectorControllerApiAsync
    IApiAccessor
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.