public GatherStopServiceTests(MockHttpClientFixture mockHttpClientFixture) : base(mockHttpClientFixture) { this.service = new GatherStopService(); this.options = new GatherStopOptions { ClientState = "aGF2ZSBhIG5pY2UgZGF5ID1d", CommandId = Guid.Parse("891510ac-f3e4-11e8-af5b-de00688a4901"), }; }
public virtual async Task <TelnyxApiResponse> GatherStopAsync(GatherStopOptions options, RequestOptions requestOptions = null, CancellationToken ct = default) { return(await this.gatherStopService.StopAsync(this.CallControlId, options, requestOptions, ct)); }
public virtual TelnyxApiResponse GatherStop(GatherStopOptions options, RequestOptions requestOptions = null) { return(this.gatherStopService.Stop(this.CallControlId, options, requestOptions)); }