public async Task <TelnyxList <FQDN> > ListFQDNsAsync() { var options = new FQDNListOptions { PageNumber = 1, PageSize = 2, }; var conns = await fQDNService.ListFQDNsAsync(options); Console.WriteLine("FQDN List Async: " + JsonConvert.SerializeObject(conns) + "\n"); return(conns); }
public FQDNSTest(MockHttpClientFixture mockHttpClientFixture) : base(mockHttpClientFixture) { this.service = new FQDNService(); this.listOptions = new FQDNListOptions() { ConnectionId = "Connection001", Fqdn = "Fqdn", Port = 1302, DNSRecordType = "DNSRecordType" }; this.createOptions = new UpsertFQDNOptions() { ConnectionId = "Connection001", Fqdn = "example.com", Port = 1303, DNSRecordType = "DNSRecordType" }; }