Search Results for

    Show / Hide Table of Contents

    Interface IUserControllerApiSync

    Represents a collection of functions to interact with the API endpoints

    Inherited Members
    IApiAccessor.Configuration
    IApiAccessor.GetBasePath()
    IApiAccessor.ExceptionFactory
    Namespace: mailslurp.Api
    Assembly: mailslurp.dll
    Syntax
    public interface IUserControllerApiSync : IApiAccessor

    Methods

    View Source

    GetJsonPropertyAsString(string, object, int)

    Declaration
    string GetJsonPropertyAsString(string property, object body, int operationIndex = 0)
    Parameters
    Type Name Description
    string property

    JSON property name or dot separated path selector such as a.b.c

    object body
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    string

    string

    Remarks

    Utility function to extract properties from JSON objects in language where this is cumbersome.

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetJsonPropertyAsStringWithHttpInfo(string, object, int)

    Declaration
    ApiResponse<string> GetJsonPropertyAsStringWithHttpInfo(string property, object body, int operationIndex = 0)
    Parameters
    Type Name Description
    string property

    JSON property name or dot separated path selector such as a.b.c

    object body
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<string>

    ApiResponse of string

    Remarks

    Utility function to extract properties from JSON objects in language where this is cumbersome.

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetUserInfo(int)

    Declaration
    UserInfoDto GetUserInfo(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    UserInfoDto

    UserInfoDto

    Remarks

    Get account information for your user

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetUserInfoWithHttpInfo(int)

    Declaration
    ApiResponse<UserInfoDto> GetUserInfoWithHttpInfo(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<UserInfoDto>

    ApiResponse of UserInfoDto

    Remarks

    Get account information for your user

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

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