C# Class GitterSharp.Services.GitterApiService

Inheritance: IGitterApiService
Mostrar archivo Open project: Odonno/gitter-api-pcl Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BanUserFromRoomAsync ( string roomId, string username ) : Task
CreateRoomAsync ( string groupId, CreateRoomRequest request ) : Task
DeleteRoomAsync ( string roomId ) : Task
GetCurrentUserAsync ( ) : Task
GetGroupRoomsAsync ( string groupId ) : Task>
GetGroupsAsync ( ) : Task>
GetOrganizationsAsync ( string userId ) : Task>
GetRepositoriesAsync ( string userId ) : Task>
GetRoomBansAsync ( string roomId ) : Task>
GetRoomEventsAsync ( string roomId ) : Task>
GetRoomIssuesAsync ( string roomId ) : Task>
GetRoomMessagesAsync ( string roomId, MessageRequest request ) : Task>
GetRoomMessagesCountByDayAsync ( string roomId ) : int>>.Task
GetRoomNotificationSettingsAsync ( string userId, string roomId ) : Task
GetRoomUsersAsync ( string roomId, int limit = 30, string q = null, int skip ) : Task>
GetRoomsAsync ( ) : Task>
GetSingleRoomMessageAsync ( string roomId, string messageId ) : Task
GetSuggestedCollaboratorsOnRoomAsync ( string roomId ) : Task>
GetSuggestedRoomsAsync ( ) : Task>
GetSuggestedRoomsAsync ( string roomId ) : Task>
GetWelcomeMessageAsync ( string roomId ) : Task
GitterApiService ( ) : System
GitterApiService ( string token ) : System
JoinRoomAsync ( string roomName ) : Task
JoinRoomAsync ( string userId, string roomId ) : Task
LeaveRoomAsync ( string roomId, string userId ) : Task
MarkUnreadChatMessagesAsync ( string userId, string roomId, IEnumerable messageIds ) : System.Threading.Tasks.Task
RetrieveUnreadChatMessagesAsync ( string userId, string roomId ) : Task
SearchRoomsAsync ( string query, int limit = 10, int skip ) : Task>
SearchUserRepositoriesAsync ( string userId, string query, int limit = 10 ) : Task>
SearchUsersAsync ( string query, int limit = 10, int skip ) : Task>
SendMessageAsync ( string roomId, string message ) : Task
UpdateMessageAsync ( string roomId, string messageId, string message ) : Task
UpdateRoomAsync ( string roomId, UpdateRoomRequest request ) : Task
UpdateRoomNotificationSettingsAsync ( string userId, string roomId, UpdateRoomNotificationSettingsRequest request ) : Task
UpdateUserRoomSettingsAsync ( string userId, string roomId, UpdateUserRoomSettingsRequest request ) : Task
UpdateWelcomeMessageAsync ( string roomId, UpdateWelcomeMessageRequest request ) : Task

Method Details

BanUserFromRoomAsync() public method

public BanUserFromRoomAsync ( string roomId, string username ) : Task
roomId string
username string
return Task

CreateRoomAsync() public method

public CreateRoomAsync ( string groupId, CreateRoomRequest request ) : Task
groupId string
request GitterSharp.Model.Requests.CreateRoomRequest
return Task

DeleteRoomAsync() public method

public DeleteRoomAsync ( string roomId ) : Task
roomId string
return Task

GetCurrentUserAsync() public method

public GetCurrentUserAsync ( ) : Task
return Task

GetGroupRoomsAsync() public method

public GetGroupRoomsAsync ( string groupId ) : Task>
groupId string
return Task>

GetGroupsAsync() public method

public GetGroupsAsync ( ) : Task>
return Task>

GetOrganizationsAsync() public method

public GetOrganizationsAsync ( string userId ) : Task>
userId string
return Task>

GetRepositoriesAsync() public method

public GetRepositoriesAsync ( string userId ) : Task>
userId string
return Task>

GetRoomBansAsync() public method

public GetRoomBansAsync ( string roomId ) : Task>
roomId string
return Task>

GetRoomEventsAsync() public method

public GetRoomEventsAsync ( string roomId ) : Task>
roomId string
return Task>

GetRoomIssuesAsync() public method

public GetRoomIssuesAsync ( string roomId ) : Task>
roomId string
return Task>

GetRoomMessagesAsync() public method

public GetRoomMessagesAsync ( string roomId, MessageRequest request ) : Task>
roomId string
request MessageRequest
return Task>

GetRoomMessagesCountByDayAsync() public method

public GetRoomMessagesCountByDayAsync ( string roomId ) : int>>.Task
roomId string
return int>>.Task

GetRoomNotificationSettingsAsync() public method

public GetRoomNotificationSettingsAsync ( string userId, string roomId ) : Task
userId string
roomId string
return Task

GetRoomUsersAsync() public method

public GetRoomUsersAsync ( string roomId, int limit = 30, string q = null, int skip ) : Task>
roomId string
limit int
q string
skip int
return Task>

GetRoomsAsync() public method

public GetRoomsAsync ( ) : Task>
return Task>

GetSingleRoomMessageAsync() public method

public GetSingleRoomMessageAsync ( string roomId, string messageId ) : Task
roomId string
messageId string
return Task

GetSuggestedCollaboratorsOnRoomAsync() public method

public GetSuggestedCollaboratorsOnRoomAsync ( string roomId ) : Task>
roomId string
return Task>

GetSuggestedRoomsAsync() public method

public GetSuggestedRoomsAsync ( ) : Task>
return Task>

GetSuggestedRoomsAsync() public method

public GetSuggestedRoomsAsync ( string roomId ) : Task>
roomId string
return Task>

GetWelcomeMessageAsync() public method

public GetWelcomeMessageAsync ( string roomId ) : Task
roomId string
return Task

GitterApiService() public method

public GitterApiService ( ) : System
return System

GitterApiService() public method

public GitterApiService ( string token ) : System
token string
return System

JoinRoomAsync() public method

public JoinRoomAsync ( string roomName ) : Task
roomName string
return Task

JoinRoomAsync() public method

public JoinRoomAsync ( string userId, string roomId ) : Task
userId string
roomId string
return Task

LeaveRoomAsync() public method

public LeaveRoomAsync ( string roomId, string userId ) : Task
roomId string
userId string
return Task

MarkUnreadChatMessagesAsync() public method

public MarkUnreadChatMessagesAsync ( string userId, string roomId, IEnumerable messageIds ) : System.Threading.Tasks.Task
userId string
roomId string
messageIds IEnumerable
return System.Threading.Tasks.Task

RetrieveUnreadChatMessagesAsync() public method

public RetrieveUnreadChatMessagesAsync ( string userId, string roomId ) : Task
userId string
roomId string
return Task

SearchRoomsAsync() public method

public SearchRoomsAsync ( string query, int limit = 10, int skip ) : Task>
query string
limit int
skip int
return Task>

SearchUserRepositoriesAsync() public method

public SearchUserRepositoriesAsync ( string userId, string query, int limit = 10 ) : Task>
userId string
query string
limit int
return Task>

SearchUsersAsync() public method

public SearchUsersAsync ( string query, int limit = 10, int skip ) : Task>
query string
limit int
skip int
return Task>

SendMessageAsync() public method

public SendMessageAsync ( string roomId, string message ) : Task
roomId string
message string
return Task

UpdateMessageAsync() public method

public UpdateMessageAsync ( string roomId, string messageId, string message ) : Task
roomId string
messageId string
message string
return Task

UpdateRoomAsync() public method

public UpdateRoomAsync ( string roomId, UpdateRoomRequest request ) : Task
roomId string
request GitterSharp.Model.Requests.UpdateRoomRequest
return Task

UpdateRoomNotificationSettingsAsync() public method

public UpdateRoomNotificationSettingsAsync ( string userId, string roomId, UpdateRoomNotificationSettingsRequest request ) : Task
userId string
roomId string
request GitterSharp.Model.Requests.UpdateRoomNotificationSettingsRequest
return Task

UpdateUserRoomSettingsAsync() public method

public UpdateUserRoomSettingsAsync ( string userId, string roomId, UpdateUserRoomSettingsRequest request ) : Task
userId string
roomId string
request GitterSharp.Model.Requests.UpdateUserRoomSettingsRequest
return Task

UpdateWelcomeMessageAsync() public method

public UpdateWelcomeMessageAsync ( string roomId, UpdateWelcomeMessageRequest request ) : Task
roomId string
request GitterSharp.Model.Requests.UpdateWelcomeMessageRequest
return Task