Implemented interface member:
property
Client
Microsoft.DotNet.Helix.Client.IServiceOperations<T>.Client
1 write to Client
Microsoft.DotNet.Helix.Client (1)
generated-code\Job.cs (1)
68Client = client ?? throw new ArgumentNullException(nameof(client));
60 references to Client
Microsoft.DotNet.Helix.Client (60)
generated-code\Job.cs (60)
101var _baseUri = Client.Options.BaseUri; 108_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 111using (var _req = Client.Pipeline.CreateRequest()) 123_req.Content = RequestContent.Create(Encoding.UTF8.GetBytes(Client.Serialize(body))); 127using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 142var _body = Client.Deserialize<Models.JobCreationResult>(_content); 164Client.Deserialize<Models.ApiError>(content) 168Client.OnFailedRequest(ex); 187var _baseUri = Client.Options.BaseUri; 196_url.AppendQuery("Creator", Client.Serialize(creator)); 200_url.AppendQuery("Source", Client.Serialize(source)); 204_url.AppendQuery("Type", Client.Serialize(type)); 208_url.AppendQuery("Build", Client.Serialize(build)); 212_url.AppendQuery("Name", Client.Serialize(name)); 216_url.AppendQuery("count", Client.Serialize(count)); 218_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 221using (var _req = Client.Pipeline.CreateRequest()) 226using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 241var _body = Client.Deserialize<IImmutableList<Models.JobSummary>>(_content); 263Client.Deserialize<Models.ApiError>(content) 267Client.OnFailedRequest(ex); 286var _baseUri = Client.Options.BaseUri; 290"/api/jobs/{job}/pf".Replace("{job}", Uri.EscapeDataString(Client.Serialize(job))), 293_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 296using (var _req = Client.Pipeline.CreateRequest()) 301using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 316var _body = Client.Deserialize<Models.JobPassFail>(_content); 338Client.Deserialize<Models.ApiError>(content) 342Client.OnFailedRequest(ex); 361var _baseUri = Client.Options.BaseUri; 365"/api/jobs/{job}".Replace("{job}", Uri.EscapeDataString(Client.Serialize(job))), 368_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 371using (var _req = Client.Pipeline.CreateRequest()) 376using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 391var _body = Client.Deserialize<Models.JobSummary>(_content); 413Client.Deserialize<Models.ApiError>(content) 417Client.OnFailedRequest(ex); 436var _baseUri = Client.Options.BaseUri; 440"/api/jobs/{job}/details".Replace("{job}", Uri.EscapeDataString(Client.Serialize(job))), 443_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 446using (var _req = Client.Pipeline.CreateRequest()) 451using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 466var _body = Client.Deserialize<Models.JobDetails>(_content); 488Client.Deserialize<Models.ApiError>(content) 492Client.OnFailedRequest(ex); 512var _baseUri = Client.Options.BaseUri; 516"/api/jobs/{job}/cancel".Replace("{job}", Uri.EscapeDataString(Client.Serialize(job))), 521_url.AppendQuery("jobCancellationToken", Client.Serialize(jobCancellationToken)); 523_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 526using (var _req = Client.Pipeline.CreateRequest()) 531using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 559Client.Deserialize<Models.ApiError>(content) 563Client.OnFailedRequest(ex); 582var _baseUri = Client.Options.BaseUri; 586"/api/jobs/{job}/wait".Replace("{job}", Uri.EscapeDataString(Client.Serialize(job))), 589_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 592using (var _req = Client.Pipeline.CreateRequest()) 597using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 625Client.Deserialize<Models.ApiError>(content) 629Client.OnFailedRequest(ex);