Exemplo n.º 1
0
 /// <inheritdoc/>
 public async Task <Team> GetTeamAsync(string teamId)
 => await TeamsClient.GetResultAsync <Team>($"{WxTeamsConstants.TeamsUrl}/{teamId}");
Exemplo n.º 2
0
 /// <inheritdoc/>
 public async Task <Role> GetRoleAsync(string roleId)
 => await TeamsClient.GetResultAsync <Role>($"{WxTeamsConstants.RolesUrl}/{roleId}");
Exemplo n.º 3
0
 /// <inheritdoc/>
 public async Task <Event> GetEventAsync(string eventId)
 => await TeamsClient.GetResultAsync <Event>($"{WxTeamsConstants.EventsUrl}/{eventId}");
Exemplo n.º 4
0
 /// <inheritdoc/>
 public async Task <TeamMembership> GetTeamMembership(string membershipId)
 => await TeamsClient.GetResultAsync <TeamMembership>($"{WxTeamsConstants.TeamMembershipsUrl}/{membershipId}");
Exemplo n.º 5
0
 /// <inheritdoc/>
 public async Task <ResourceGroupMembership> GetResourceGroupMembershipAsync(string resourceGroupMembershipId)
 => await TeamsClient.GetResultAsync <ResourceGroupMembership>($"{WxTeamsConstants.ResourceMembershipsUrl}/{resourceGroupMembershipId}");
Exemplo n.º 6
0
 /// <inheritdoc/>
 public async Task <Organization> GetOrganizationAsync(string organizationId)
 => await TeamsClient.GetResultAsync <Organization>($"{WxTeamsConstants.OrganizationsUrl}/{organizationId}");
Exemplo n.º 7
0
 /// <inheritdoc/>
 public async Task <Person> GetMyUserDetails()
 => await TeamsClient.GetResultAsync <Person>($"{WxTeamsConstants.PeopleUrl}/me");
Exemplo n.º 8
0
 /// <inheritdoc/>
 public async Task <Person> GetUserAsync(string userId)
 => await TeamsClient.GetResultAsync <Person>($"{WxTeamsConstants.PeopleUrl}/{userId}");
Exemplo n.º 9
0
 /// <inheritdoc/>
 public async Task <Webhook> GetWebhookAsync(string webhookId)
 => await TeamsClient.GetResultAsync <Webhook>($"{WxTeamsConstants.WebhooksUrl}/{webhookId}");
Exemplo n.º 10
0
 /// <inheritdoc/>
 public async Task <License> GetLicenseAsync(string licenseId)
 => await TeamsClient.GetResultAsync <License>($"{WxTeamsConstants.LicensesUrl}/{licenseId}");
Exemplo n.º 11
0
 /// <inheritdoc/>
 public async Task <Message> GetMessageAsync(string messageId)
 => await TeamsClient.GetResultAsync <Message>($"{WxTeamsConstants.MessagesUrl}/{messageId}");
Exemplo n.º 12
0
 /// <inheritdoc/>
 public async Task <MeetingDetails> GetMeetingDetailsAsync(string roomId)
 => await TeamsClient.GetResultAsync <MeetingDetails>($"{WxTeamsConstants.RoomsUrl}/{roomId}/meetingInfo");
Exemplo n.º 13
0
 /// <inheritdoc/>
 public async Task <Room> GetRoomAsync(string roomId)
 => await TeamsClient.GetResultAsync <Room>($"{WxTeamsConstants.RoomsUrl}/{roomId}");