Skip to content

Commit d949333

Browse files
docs(client): separate comment content into paragraphs
1 parent 569bcb2 commit d949333

File tree

209 files changed

+3654
-3469
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+3654
-3469
lines changed

src/Orb/Core/FreezableDictionary.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ namespace Orb.Core;
1010
/// A dictionary that can be mutated and then frozen once no more mutations are expected.<br
1111
/// /><br />
1212
///
13-
/// This is useful for allowing a dictionary to be modified by a class's `init` properties,
14-
/// but then preventing it from being modified afterwards.
13+
/// <para>This is useful for allowing a dictionary to be modified by a class's `init`
14+
/// properties, but then preventing it from being modified afterwards.</para>
1515
/// </summary>
1616
class FreezableDictionary<K, V> : IDictionary<K, V>
1717
where K : notnull

src/Orb/Models/Alerts/Alert.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Orb.Models.Alerts;
1313
/// [Alerts within Orb](/product-catalog/configuring-alerts) monitor spending, usage,
1414
/// or credit balance and trigger webhooks when a threshold is exceeded.
1515
///
16-
/// Alerts created through the API can be scoped to either customers or subscriptions.
16+
/// <para>Alerts created through the API can be scoped to either customers or subscriptions.</para>
1717
/// </summary>
1818
[JsonConverter(typeof(ModelConverter<Alert>))]
1919
public sealed record class Alert : ModelBase, IFromRaw<Alert>

src/Orb/Models/Alerts/AlertCreateForCustomerParams.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ namespace Orb.Models.Alerts;
1414
/// <summary>
1515
/// This endpoint creates a new alert to monitor a customer's credit balance. There
1616
/// are three types of alerts that can be scoped to customers: `credit_balance_depleted`,
17-
/// `credit_balance_dropped`, and `credit_balance_recovered`. Customers can have
18-
/// a maximum of one of each type of alert per [credit balance currency](/product-catalog/prepurchase).
17+
/// `credit_balance_dropped`, and `credit_balance_recovered`. Customers can have a
18+
/// maximum of one of each type of alert per [credit balance currency](/product-catalog/prepurchase).
1919
/// `credit_balance_dropped` alerts require a list of thresholds to be provided while
2020
/// `credit_balance_depleted` and `credit_balance_recovered` alerts do not require thresholds.
2121
/// </summary>

src/Orb/Models/Alerts/AlertCreateForExternalCustomerParams.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ namespace Orb.Models.Alerts;
1414
/// <summary>
1515
/// This endpoint creates a new alert to monitor a customer's credit balance. There
1616
/// are three types of alerts that can be scoped to customers: `credit_balance_depleted`,
17-
/// `credit_balance_dropped`, and `credit_balance_recovered`. Customers can have
18-
/// a maximum of one of each type of alert per [credit balance currency](/product-catalog/prepurchase).
17+
/// `credit_balance_dropped`, and `credit_balance_recovered`. Customers can have a
18+
/// maximum of one of each type of alert per [credit balance currency](/product-catalog/prepurchase).
1919
/// `credit_balance_dropped` alerts require a list of thresholds to be provided while
2020
/// `credit_balance_depleted` and `credit_balance_recovered` alerts do not require thresholds.
2121
/// </summary>

src/Orb/Models/Alerts/AlertCreateForSubscriptionParams.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ namespace Orb.Models.Alerts;
1414
/// <summary>
1515
/// This endpoint is used to create alerts at the subscription level.
1616
///
17-
/// Subscription level alerts can be one of two types: `usage_exceeded` or `cost_exceeded`.
17+
/// <para>Subscription level alerts can be one of two types: `usage_exceeded` or `cost_exceeded`.
1818
/// A `usage_exceeded` alert is scoped to a particular metric and is triggered when
1919
/// the usage of that metric exceeds predefined thresholds during the current billing
20-
/// cycle. A `cost_exceeded` alert is triggered when the total amount due during
21-
/// the current billing cycle surpasses predefined thresholds. `cost_exceeded` alerts
20+
/// cycle. A `cost_exceeded` alert is triggered when the total amount due during the
21+
/// current billing cycle surpasses predefined thresholds. `cost_exceeded` alerts
2222
/// do not include burndown of pre-purchase credits. Each subscription can have one
2323
/// `cost_exceeded` alert and one `usage_exceeded` alert per metric that is a part
2424
/// of the subscription. Alerts are triggered based on usage or cost conditions met
25-
/// during the current billing cycle.
25+
/// during the current billing cycle.</para>
2626
/// </summary>
2727
public sealed record class AlertCreateForSubscriptionParams : ParamsBase
2828
{

src/Orb/Models/Alerts/AlertListParams.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ namespace Orb.Models.Alerts;
1111
/// <summary>
1212
/// This endpoint returns a list of alerts within Orb.
1313
///
14-
/// The request must specify one of `customer_id`, `external_customer_id`, or `subscription_id`.
14+
/// <para>The request must specify one of `customer_id`, `external_customer_id`,
15+
/// or `subscription_id`.</para>
1516
///
16-
/// If querying by subscription_id, the endpoint will return the subscription level
17-
/// alerts as well as the plan level alerts associated with the subscription.
17+
/// <para>If querying by subscription_id, the endpoint will return the subscription
18+
/// level alerts as well as the plan level alerts associated with the subscription.</para>
1819
///
19-
/// The list of alerts is ordered starting from the most recently created alert.
20-
/// This endpoint follows Orb's [standardized pagination format](/api-reference/pagination).
20+
/// <para>The list of alerts is ordered starting from the most recently created alert.
21+
/// This endpoint follows Orb's [standardized pagination format](/api-reference/pagination).</para>
2122
/// </summary>
2223
public sealed record class AlertListParams : ParamsBase
2324
{

src/Orb/Models/Beta/BetaCreatePlanVersionParams.cs

Lines changed: 44 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3189,7 +3189,8 @@ public bool? BilledInAdvance
31893189
}
31903190

31913191
/// <summary>
3192-
/// For custom cadence: specifies the duration of the billing period in days or months.
3192+
/// For custom cadence: specifies the duration of the billing period in days
3193+
/// or months.
31933194
/// </summary>
31943195
public NewBillingCycleConfiguration? BillingCycleConfiguration
31953196
{
@@ -3263,8 +3264,8 @@ public double? ConversionRate
32633264
}
32643265

32653266
/// <summary>
3266-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
3267-
/// price is billed.
3267+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
3268+
/// this price is billed.
32683269
/// </summary>
32693270
public string? Currency
32703271
{
@@ -4308,7 +4309,8 @@ public bool? BilledInAdvance
43084309
}
43094310

43104311
/// <summary>
4311-
/// For custom cadence: specifies the duration of the billing period in days or months.
4312+
/// For custom cadence: specifies the duration of the billing period in days
4313+
/// or months.
43124314
/// </summary>
43134315
public NewBillingCycleConfiguration? BillingCycleConfiguration
43144316
{
@@ -4382,8 +4384,8 @@ public double? ConversionRate
43824384
}
43834385

43844386
/// <summary>
4385-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
4386-
/// price is billed.
4387+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
4388+
/// this price is billed.
43874389
/// </summary>
43884390
public string? Currency
43894391
{
@@ -4741,7 +4743,8 @@ public sealed record class TieredWithProrationConfig
47414743
IFromRaw<global::Orb.Models.Beta.TieredWithProrationConfig>
47424744
{
47434745
/// <summary>
4744-
/// Tiers for rating based on total usage quantities into the specified tier with proration
4746+
/// Tiers for rating based on total usage quantities into the specified tier
4747+
/// with proration
47454748
/// </summary>
47464749
public required List<global::Orb.Models.Beta.TierModel> Tiers
47474750
{
@@ -5304,7 +5307,8 @@ public bool? BilledInAdvance
53045307
}
53055308

53065309
/// <summary>
5307-
/// For custom cadence: specifies the duration of the billing period in days or months.
5310+
/// For custom cadence: specifies the duration of the billing period in days
5311+
/// or months.
53085312
/// </summary>
53095313
public NewBillingCycleConfiguration? BillingCycleConfiguration
53105314
{
@@ -5378,8 +5382,8 @@ public double? ConversionRate
53785382
}
53795383

53805384
/// <summary>
5381-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
5382-
/// price is billed.
5385+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
5386+
/// this price is billed.
53835387
/// </summary>
53845388
public string? Currency
53855389
{
@@ -6284,7 +6288,8 @@ public bool? BilledInAdvance
62846288
}
62856289

62866290
/// <summary>
6287-
/// For custom cadence: specifies the duration of the billing period in days or months.
6291+
/// For custom cadence: specifies the duration of the billing period in days
6292+
/// or months.
62886293
/// </summary>
62896294
public NewBillingCycleConfiguration? BillingCycleConfiguration
62906295
{
@@ -6358,8 +6363,8 @@ public double? ConversionRate
63586363
}
63596364

63606365
/// <summary>
6361-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
6362-
/// price is billed.
6366+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
6367+
/// this price is billed.
63636368
/// </summary>
63646369
public string? Currency
63656370
{
@@ -7168,7 +7173,8 @@ public bool? BilledInAdvance
71687173
}
71697174

71707175
/// <summary>
7171-
/// For custom cadence: specifies the duration of the billing period in days or months.
7176+
/// For custom cadence: specifies the duration of the billing period in days
7177+
/// or months.
71727178
/// </summary>
71737179
public NewBillingCycleConfiguration? BillingCycleConfiguration
71747180
{
@@ -7242,8 +7248,8 @@ public double? ConversionRate
72427248
}
72437249

72447250
/// <summary>
7245-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
7246-
/// price is billed.
7251+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
7252+
/// this price is billed.
72477253
/// </summary>
72487254
public string? Currency
72497255
{
@@ -10994,7 +11000,8 @@ public bool? BilledInAdvance
1099411000
}
1099511001

1099611002
/// <summary>
10997-
/// For custom cadence: specifies the duration of the billing period in days or months.
11003+
/// For custom cadence: specifies the duration of the billing period in days
11004+
/// or months.
1099811005
/// </summary>
1099911006
public NewBillingCycleConfiguration? BillingCycleConfiguration
1100011007
{
@@ -11068,8 +11075,8 @@ public double? ConversionRate
1106811075
}
1106911076

1107011077
/// <summary>
11071-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
11072-
/// price is billed.
11078+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
11079+
/// this price is billed.
1107311080
/// </summary>
1107411081
public string? Currency
1107511082
{
@@ -12112,7 +12119,8 @@ public bool? BilledInAdvance
1211212119
}
1211312120

1211412121
/// <summary>
12115-
/// For custom cadence: specifies the duration of the billing period in days or months.
12122+
/// For custom cadence: specifies the duration of the billing period in days
12123+
/// or months.
1211612124
/// </summary>
1211712125
public NewBillingCycleConfiguration? BillingCycleConfiguration
1211812126
{
@@ -12186,8 +12194,8 @@ public double? ConversionRate
1218612194
}
1218712195

1218812196
/// <summary>
12189-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
12190-
/// price is billed.
12197+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
12198+
/// this price is billed.
1219112199
/// </summary>
1219212200
public string? Currency
1219312201
{
@@ -12545,7 +12553,8 @@ public sealed record class TieredWithProrationConfigModel
1254512553
IFromRaw<global::Orb.Models.Beta.TieredWithProrationConfigModel>
1254612554
{
1254712555
/// <summary>
12548-
/// Tiers for rating based on total usage quantities into the specified tier with proration
12556+
/// Tiers for rating based on total usage quantities into the specified tier
12557+
/// with proration
1254912558
/// </summary>
1255012559
public required List<global::Orb.Models.Beta.Tier2> Tiers
1255112560
{
@@ -13108,7 +13117,8 @@ public bool? BilledInAdvance
1310813117
}
1310913118

1311013119
/// <summary>
13111-
/// For custom cadence: specifies the duration of the billing period in days or months.
13120+
/// For custom cadence: specifies the duration of the billing period in days
13121+
/// or months.
1311213122
/// </summary>
1311313123
public NewBillingCycleConfiguration? BillingCycleConfiguration
1311413124
{
@@ -13182,8 +13192,8 @@ public double? ConversionRate
1318213192
}
1318313193

1318413194
/// <summary>
13185-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
13186-
/// price is billed.
13195+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
13196+
/// this price is billed.
1318713197
/// </summary>
1318813198
public string? Currency
1318913199
{
@@ -14090,7 +14100,8 @@ public bool? BilledInAdvance
1409014100
}
1409114101

1409214102
/// <summary>
14093-
/// For custom cadence: specifies the duration of the billing period in days or months.
14103+
/// For custom cadence: specifies the duration of the billing period in days
14104+
/// or months.
1409414105
/// </summary>
1409514106
public NewBillingCycleConfiguration? BillingCycleConfiguration
1409614107
{
@@ -14164,8 +14175,8 @@ public double? ConversionRate
1416414175
}
1416514176

1416614177
/// <summary>
14167-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
14168-
/// price is billed.
14178+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
14179+
/// this price is billed.
1416914180
/// </summary>
1417014181
public string? Currency
1417114182
{
@@ -14970,7 +14981,8 @@ public bool? BilledInAdvance
1497014981
}
1497114982

1497214983
/// <summary>
14973-
/// For custom cadence: specifies the duration of the billing period in days or months.
14984+
/// For custom cadence: specifies the duration of the billing period in days
14985+
/// or months.
1497414986
/// </summary>
1497514987
public NewBillingCycleConfiguration? BillingCycleConfiguration
1497614988
{
@@ -15044,8 +15056,8 @@ public double? ConversionRate
1504415056
}
1504515057

1504615058
/// <summary>
15047-
/// An ISO 4217 currency string, or custom pricing unit identifier, in which this
15048-
/// price is billed.
15059+
/// An ISO 4217 currency string, or custom pricing unit identifier, in which
15060+
/// this price is billed.
1504915061
/// </summary>
1505015062
public string? Currency
1505115063
{

0 commit comments

Comments
 (0)