• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stripe / stripe-dotnet / 10566832702

26 Aug 2024 08:31PM UTC coverage: 56.723%. Remained the same
10566832702

Pull #2952

coveralls.net

web-flow
Merge d25e5922e into 3b5e690ed
Pull Request #2952: Update generated code

4594 of 8099 relevant lines covered (56.72%)

114.22 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.0
/src/Stripe.net/Services/Sigma/ScheduledQueryRuns/ScheduledQueryRunService.cs
1
// File generated from our OpenAPI spec
2
namespace Stripe.Sigma
3
{
4
    using System;
5
    using System.Collections.Generic;
6
    using System.Net;
7
    using System.Net.Http;
8
    using System.Threading;
9
    using System.Threading.Tasks;
10

11
    public class ScheduledQueryRunService : Service<ScheduledQueryRun>,
12
        IListable<ScheduledQueryRun, ScheduledQueryRunListOptions>,
13
        IRetrievable<ScheduledQueryRun, ScheduledQueryRunGetOptions>
14
    {
15
        public ScheduledQueryRunService()
×
16
        {
×
17
        }
×
18

19
        public ScheduledQueryRunService(IStripeClient client)
20
            : base(client)
8✔
21
        {
8✔
22
        }
8✔
23

24
        [Obsolete("This member is deprecated and will be removed in a future release")]
25
        public override string BasePath => "/v1/sigma/scheduled_query_runs";
×
26

27
        /// <summary>
28
        /// <p>Retrieves the details of an scheduled query run.</p>.
29
        /// </summary>
30
        public virtual ScheduledQueryRun Get(string id, ScheduledQueryRunGetOptions options = null, RequestOptions requestOptions = null)
31
        {
2✔
32
            return this.Request<ScheduledQueryRun>(HttpMethod.Get, $"/v1/sigma/scheduled_query_runs/{WebUtility.UrlEncode(id)}", options, requestOptions);
2✔
33
        }
2✔
34

35
        /// <summary>
36
        /// <p>Retrieves the details of an scheduled query run.</p>.
37
        /// </summary>
38
        public virtual Task<ScheduledQueryRun> GetAsync(string id, ScheduledQueryRunGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
39
        {
1✔
40
            return this.RequestAsync<ScheduledQueryRun>(HttpMethod.Get, $"/v1/sigma/scheduled_query_runs/{WebUtility.UrlEncode(id)}", options, requestOptions, cancellationToken);
1✔
41
        }
1✔
42

43
        /// <summary>
44
        /// <p>Returns a list of scheduled query runs.</p>.
45
        /// </summary>
46
        public virtual StripeList<ScheduledQueryRun> List(ScheduledQueryRunListOptions options = null, RequestOptions requestOptions = null)
47
        {
2✔
48
            return this.Request<StripeList<ScheduledQueryRun>>(HttpMethod.Get, $"/v1/sigma/scheduled_query_runs", options, requestOptions);
2✔
49
        }
2✔
50

51
        /// <summary>
52
        /// <p>Returns a list of scheduled query runs.</p>.
53
        /// </summary>
54
        public virtual Task<StripeList<ScheduledQueryRun>> ListAsync(ScheduledQueryRunListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
55
        {
1✔
56
            return this.RequestAsync<StripeList<ScheduledQueryRun>>(HttpMethod.Get, $"/v1/sigma/scheduled_query_runs", options, requestOptions, cancellationToken);
1✔
57
        }
1✔
58

59
        /// <summary>
60
        /// <p>Returns a list of scheduled query runs.</p>.
61
        /// </summary>
62
        public virtual IEnumerable<ScheduledQueryRun> ListAutoPaging(ScheduledQueryRunListOptions options = null, RequestOptions requestOptions = null)
63
        {
1✔
64
            return this.ListRequestAutoPaging<ScheduledQueryRun>($"/v1/sigma/scheduled_query_runs", options, requestOptions);
1✔
65
        }
1✔
66

67
        /// <summary>
68
        /// <p>Returns a list of scheduled query runs.</p>.
69
        /// </summary>
70
        public virtual IAsyncEnumerable<ScheduledQueryRun> ListAutoPagingAsync(ScheduledQueryRunListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
71
        {
1✔
72
            return this.ListRequestAutoPagingAsync<ScheduledQueryRun>($"/v1/sigma/scheduled_query_runs", options, requestOptions, cancellationToken);
1✔
73
        }
1✔
74
    }
75
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc