DocuSign.Rooms by DocuSign

<PackageReference Include="DocuSign.Rooms" Version="1.2.0-rc" />

 RolesApi

public class RolesApi : IRolesApi, IApiAccessor
Represents a collection of functions to interact with the API endpoints
public class GetRoleOptions

Get information about the role with the given roleId. Get information about the role with the given roleId.

public class GetRolesOptions

Gets a paged-list of roles in your company Returns a list of roles associated with a company account

public ApiClient ApiClient { get; set; }

Gets or sets the ApiClient object

public ExceptionFactory ExceptionFactory { get; set; }

Provides a factory method hook for the creation of exceptions.

public RolesApi(ApiClient aplClient)

Initializes a new instance of the RolesApi class using AplClient object

public Role CreateRole(string accountId, RoleForCreate body = null)

Creates a role. Creates a new company role in Rooms

public Task<Role> CreateRoleAsync(string accountId, RoleForCreate body = null)

Creates a role. Creates a new company role in Rooms

public Task<ApiResponse<Role>> CreateRoleAsyncWithHttpInfo(string accountId, RoleForCreate body = null)

Creates a role. Creates a new company role in Rooms

public ApiResponse<Role> CreateRoleWithHttpInfo(string accountId, RoleForCreate body = null)

Creates a role. Creates a new company role in Rooms

public void DeleteRole(string accountId, int? roleId)

Deletes the role with the given roleId. Deletes a role from a company account in Rooms

public Task DeleteRoleAsync(string accountId, int? roleId)

Deletes the role with the given roleId. Deletes a role from a company account in Rooms

public Task<ApiResponse<object>> DeleteRoleAsyncWithHttpInfo(string accountId, int? roleId)

Deletes the role with the given roleId. Deletes a role from a company account in Rooms

public ApiResponse<object> DeleteRoleWithHttpInfo(string accountId, int? roleId)

Deletes the role with the given roleId. Deletes a role from a company account in Rooms

public string GetBasePath()

Gets the base path of the API client.

public Role GetRole(string accountId, int? roleId, GetRoleOptions options = null)

Get information about the role with the given roleId. Get information about the role with the given roleId.

public Task<Role> GetRoleAsync(string accountId, int? roleId, GetRoleOptions options = null)

Get information about the role with the given roleId. Get information about the role with the given roleId.

public Task<ApiResponse<Role>> GetRoleAsyncWithHttpInfo(string accountId, int? roleId, GetRoleOptions options = null)

Get information about the role with the given roleId. Get information about the role with the given roleId.

public RoleSummaryList GetRoles(string accountId, GetRolesOptions options = null)

Gets a paged-list of roles in your company Returns a list of roles associated with a company account

public Task<RoleSummaryList> GetRolesAsync(string accountId, GetRolesOptions options = null)

Gets a paged-list of roles in your company Returns a list of roles associated with a company account

public Task<ApiResponse<RoleSummaryList>> GetRolesAsyncWithHttpInfo(string accountId, GetRolesOptions options = null)

Gets a paged-list of roles in your company Returns a list of roles associated with a company account

public ApiResponse<RoleSummaryList> GetRolesWithHttpInfo(string accountId, GetRolesOptions options = null)

Gets a paged-list of roles in your company Returns a list of roles associated with a company account

public ApiResponse<Role> GetRoleWithHttpInfo(string accountId, int? roleId, GetRoleOptions options = null)

Get information about the role with the given roleId. Get information about the role with the given roleId.

public Role UpdateRole(string accountId, int? roleId, RoleForUpdate body = null)

Updates the role with the given roleId. Updates the role with the given roleId.

public Task<Role> UpdateRoleAsync(string accountId, int? roleId, RoleForUpdate body = null)

Updates the role with the given roleId. Updates the role with the given roleId.

public Task<ApiResponse<Role>> UpdateRoleAsyncWithHttpInfo(string accountId, int? roleId, RoleForUpdate body = null)

Updates the role with the given roleId. Updates the role with the given roleId.

public ApiResponse<Role> UpdateRoleWithHttpInfo(string accountId, int? roleId, RoleForUpdate body = null)

Updates the role with the given roleId. Updates the role with the given roleId.