Skip to content

Commit ca80943

Browse files
feat(api): api update
1 parent cad2dc0 commit ca80943

File tree

38 files changed

+10
-370
lines changed

38 files changed

+10
-370
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-647fcb5866bd752a09db1530acb79134f9cc729b2e00d9abecc0b60806183817.yml
3-
openapi_spec_hash: 080cc78660e0a91499a46ef8bf0a3745
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-a5a28a58483355d3cc3da7ac5c452d548ee17183324318198052968121ca7dba.yml
3+
openapi_spec_hash: a317931a99e6d4a122919135a0363e40
44
config_hash: 05c94c0e6dbeab2c9b554c2e0d6371a0

orb-java-core/src/main/kotlin/com/withorb/api/models/NewFloatingCumulativeGroupedBulkPrice.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,8 +1161,6 @@ private constructor(
11611161
dimensionValues.getRequired("dimension_values")
11621162

11631163
/**
1164-
* Grouping key name
1165-
*
11661164
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
11671165
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
11681166
*/
@@ -1255,7 +1253,6 @@ private constructor(
12551253
}
12561254
}
12571255

1258-
/** Grouping key name */
12591256
fun group(group: String) = group(JsonField.of(group))
12601257

12611258
/**

orb-java-core/src/main/kotlin/com/withorb/api/models/NewFloatingGroupedTieredPackagePrice.kt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,8 +1164,6 @@ private constructor(
11641164
fun groupingKey(): String = groupingKey.getRequired("grouping_key")
11651165

11661166
/**
1167-
* Package size
1168-
*
11691167
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
11701168
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
11711169
*/
@@ -1264,7 +1262,6 @@ private constructor(
12641262
this.groupingKey = groupingKey
12651263
}
12661264

1267-
/** Package size */
12681265
fun packageSize(packageSize: String) = packageSize(JsonField.of(packageSize))
12691266

12701267
/**
@@ -1402,7 +1399,7 @@ private constructor(
14021399
) : this(perUnit, tierLowerBound, mutableMapOf())
14031400

14041401
/**
1405-
* Price per package
1402+
* Per package
14061403
*
14071404
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
14081405
* unexpectedly missing or null (e.g. if the server responded with an unexpected
@@ -1411,8 +1408,6 @@ private constructor(
14111408
fun perUnit(): String = perUnit.getRequired("per_unit")
14121409

14131410
/**
1414-
* Tier lower bound
1415-
*
14161411
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
14171412
* unexpectedly missing or null (e.g. if the server responded with an unexpected
14181413
* value).
@@ -1476,7 +1471,7 @@ private constructor(
14761471
additionalProperties = tier.additionalProperties.toMutableMap()
14771472
}
14781473

1479-
/** Price per package */
1474+
/** Per package */
14801475
fun perUnit(perUnit: String) = perUnit(JsonField.of(perUnit))
14811476

14821477
/**
@@ -1488,7 +1483,6 @@ private constructor(
14881483
*/
14891484
fun perUnit(perUnit: JsonField<String>) = apply { this.perUnit = perUnit }
14901485

1491-
/** Tier lower bound */
14921486
fun tierLowerBound(tierLowerBound: String) =
14931487
tierLowerBound(JsonField.of(tierLowerBound))
14941488

orb-java-core/src/main/kotlin/com/withorb/api/models/NewFloatingGroupedTieredPrice.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,8 +1349,6 @@ private constructor(
13491349
) : this(tierLowerBound, unitAmount, mutableMapOf())
13501350

13511351
/**
1352-
* Tier lower bound
1353-
*
13541352
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
13551353
* unexpectedly missing or null (e.g. if the server responded with an unexpected
13561354
* value).
@@ -1426,7 +1424,6 @@ private constructor(
14261424
additionalProperties = tier.additionalProperties.toMutableMap()
14271425
}
14281426

1429-
/** Tier lower bound */
14301427
fun tierLowerBound(tierLowerBound: String) =
14311428
tierLowerBound(JsonField.of(tierLowerBound))
14321429

orb-java-core/src/main/kotlin/com/withorb/api/models/NewFloatingGroupedWithMeteredMinimumPrice.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,17 +1560,13 @@ private constructor(
15601560
) : this(scalingFactor, scalingValue, mutableMapOf())
15611561

15621562
/**
1563-
* Scaling factor
1564-
*
15651563
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
15661564
* unexpectedly missing or null (e.g. if the server responded with an unexpected
15671565
* value).
15681566
*/
15691567
fun scalingFactor(): String = scalingFactor.getRequired("scaling_factor")
15701568

15711569
/**
1572-
* Scaling value
1573-
*
15741570
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
15751571
* unexpectedly missing or null (e.g. if the server responded with an unexpected
15761572
* value).
@@ -1637,7 +1633,6 @@ private constructor(
16371633
additionalProperties = scalingFactor.additionalProperties.toMutableMap()
16381634
}
16391635

1640-
/** Scaling factor */
16411636
fun scalingFactor(scalingFactor: String) =
16421637
scalingFactor(JsonField.of(scalingFactor))
16431638

@@ -1652,7 +1647,6 @@ private constructor(
16521647
this.scalingFactor = scalingFactor
16531648
}
16541649

1655-
/** Scaling value */
16561650
fun scalingValue(scalingValue: String) = scalingValue(JsonField.of(scalingValue))
16571651

16581652
/**
@@ -1781,8 +1775,6 @@ private constructor(
17811775
) : this(pricingValue, unitAmount, mutableMapOf())
17821776

17831777
/**
1784-
* Pricing value
1785-
*
17861778
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
17871779
* unexpectedly missing or null (e.g. if the server responded with an unexpected
17881780
* value).
@@ -1858,7 +1850,6 @@ private constructor(
18581850
additionalProperties = unitAmount.additionalProperties.toMutableMap()
18591851
}
18601852

1861-
/** Pricing value */
18621853
fun pricingValue(pricingValue: String) = pricingValue(JsonField.of(pricingValue))
18631854

18641855
/**

orb-java-core/src/main/kotlin/com/withorb/api/models/NewFloatingMaxGroupTieredPackagePrice.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,8 +1164,6 @@ private constructor(
11641164
fun groupingKey(): String = groupingKey.getRequired("grouping_key")
11651165

11661166
/**
1167-
* Package size
1168-
*
11691167
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
11701168
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
11711169
*/
@@ -1263,7 +1261,6 @@ private constructor(
12631261
this.groupingKey = groupingKey
12641262
}
12651263

1266-
/** Package size */
12671264
fun packageSize(packageSize: String) = packageSize(JsonField.of(packageSize))
12681265

12691266
/**
@@ -1398,8 +1395,6 @@ private constructor(
13981395
) : this(tierLowerBound, unitAmount, mutableMapOf())
13991396

14001397
/**
1401-
* Tier lower bound
1402-
*
14031398
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
14041399
* unexpectedly missing or null (e.g. if the server responded with an unexpected
14051400
* value).
@@ -1475,7 +1470,6 @@ private constructor(
14751470
additionalProperties = tier.additionalProperties.toMutableMap()
14761471
}
14771472

1478-
/** Tier lower bound */
14791473
fun tierLowerBound(tierLowerBound: String) =
14801474
tierLowerBound(JsonField.of(tierLowerBound))
14811475

orb-java-core/src/main/kotlin/com/withorb/api/models/NewFloatingPackageWithAllocationPrice.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,24 +1278,18 @@ private constructor(
12781278
) : this(allocation, packageAmount, packageSize, mutableMapOf())
12791279

12801280
/**
1281-
* Usage allocation
1282-
*
12831281
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
12841282
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
12851283
*/
12861284
fun allocation(): String = allocation.getRequired("allocation")
12871285

12881286
/**
1289-
* Price per package
1290-
*
12911287
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
12921288
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
12931289
*/
12941290
fun packageAmount(): String = packageAmount.getRequired("package_amount")
12951291

12961292
/**
1297-
* Package size
1298-
*
12991293
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
13001294
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
13011295
*/
@@ -1374,7 +1368,6 @@ private constructor(
13741368
packageWithAllocationConfig.additionalProperties.toMutableMap()
13751369
}
13761370

1377-
/** Usage allocation */
13781371
fun allocation(allocation: String) = allocation(JsonField.of(allocation))
13791372

13801373
/**
@@ -1386,7 +1379,6 @@ private constructor(
13861379
*/
13871380
fun allocation(allocation: JsonField<String>) = apply { this.allocation = allocation }
13881381

1389-
/** Price per package */
13901382
fun packageAmount(packageAmount: String) = packageAmount(JsonField.of(packageAmount))
13911383

13921384
/**
@@ -1400,7 +1392,6 @@ private constructor(
14001392
this.packageAmount = packageAmount
14011393
}
14021394

1403-
/** Package size */
14041395
fun packageSize(packageSize: String) = packageSize(JsonField.of(packageSize))
14051396

14061397
/**

orb-java-core/src/main/kotlin/com/withorb/api/models/NewFloatingScalableMatrixWithTieredPricingPrice.kt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,8 +1317,6 @@ private constructor(
13171317
matrixScalingFactors.getRequired("matrix_scaling_factors")
13181318

13191319
/**
1320-
* Tier pricing structure
1321-
*
13221320
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
13231321
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
13241322
*/
@@ -1464,7 +1462,6 @@ private constructor(
14641462
}
14651463
}
14661464

1467-
/** Tier pricing structure */
14681465
fun tiers(tiers: List<Tier>) = tiers(JsonField.of(tiers))
14691466

14701467
/**
@@ -1613,8 +1610,6 @@ private constructor(
16131610
) : this(firstDimensionValue, scalingFactor, secondDimensionValue, mutableMapOf())
16141611

16151612
/**
1616-
* First dimension value
1617-
*
16181613
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
16191614
* unexpectedly missing or null (e.g. if the server responded with an unexpected
16201615
* value).
@@ -1623,17 +1618,13 @@ private constructor(
16231618
firstDimensionValue.getRequired("first_dimension_value")
16241619

16251620
/**
1626-
* Scaling factor
1627-
*
16281621
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
16291622
* unexpectedly missing or null (e.g. if the server responded with an unexpected
16301623
* value).
16311624
*/
16321625
fun scalingFactor(): String = scalingFactor.getRequired("scaling_factor")
16331626

16341627
/**
1635-
* Second dimension value (optional)
1636-
*
16371628
* @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
16381629
* server responded with an unexpected value).
16391630
*/
@@ -1712,7 +1703,6 @@ private constructor(
17121703
additionalProperties = matrixScalingFactor.additionalProperties.toMutableMap()
17131704
}
17141705

1715-
/** First dimension value */
17161706
fun firstDimensionValue(firstDimensionValue: String) =
17171707
firstDimensionValue(JsonField.of(firstDimensionValue))
17181708

@@ -1727,7 +1717,6 @@ private constructor(
17271717
this.firstDimensionValue = firstDimensionValue
17281718
}
17291719

1730-
/** Scaling factor */
17311720
fun scalingFactor(scalingFactor: String) =
17321721
scalingFactor(JsonField.of(scalingFactor))
17331722

@@ -1742,7 +1731,6 @@ private constructor(
17421731
this.scalingFactor = scalingFactor
17431732
}
17441733

1745-
/** Second dimension value (optional) */
17461734
fun secondDimensionValue(secondDimensionValue: String?) =
17471735
secondDimensionValue(JsonField.ofNullable(secondDimensionValue))
17481736

@@ -1888,17 +1876,13 @@ private constructor(
18881876
) : this(tierLowerBound, unitAmount, mutableMapOf())
18891877

18901878
/**
1891-
* Tier lower bound
1892-
*
18931879
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
18941880
* unexpectedly missing or null (e.g. if the server responded with an unexpected
18951881
* value).
18961882
*/
18971883
fun tierLowerBound(): String = tierLowerBound.getRequired("tier_lower_bound")
18981884

18991885
/**
1900-
* Per unit amount
1901-
*
19021886
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
19031887
* unexpectedly missing or null (e.g. if the server responded with an unexpected
19041888
* value).
@@ -1965,7 +1949,6 @@ private constructor(
19651949
additionalProperties = tier.additionalProperties.toMutableMap()
19661950
}
19671951

1968-
/** Tier lower bound */
19691952
fun tierLowerBound(tierLowerBound: String) =
19701953
tierLowerBound(JsonField.of(tierLowerBound))
19711954

@@ -1980,7 +1963,6 @@ private constructor(
19801963
this.tierLowerBound = tierLowerBound
19811964
}
19821965

1983-
/** Per unit amount */
19841966
fun unitAmount(unitAmount: String) = unitAmount(JsonField.of(unitAmount))
19851967

19861968
/**

orb-java-core/src/main/kotlin/com/withorb/api/models/NewFloatingScalableMatrixWithUnitPricingPrice.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,8 +1643,6 @@ private constructor(
16431643
) : this(firstDimensionValue, scalingFactor, secondDimensionValue, mutableMapOf())
16441644

16451645
/**
1646-
* First dimension value
1647-
*
16481646
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
16491647
* unexpectedly missing or null (e.g. if the server responded with an unexpected
16501648
* value).
@@ -1653,17 +1651,13 @@ private constructor(
16531651
firstDimensionValue.getRequired("first_dimension_value")
16541652

16551653
/**
1656-
* Scaling factor
1657-
*
16581654
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
16591655
* unexpectedly missing or null (e.g. if the server responded with an unexpected
16601656
* value).
16611657
*/
16621658
fun scalingFactor(): String = scalingFactor.getRequired("scaling_factor")
16631659

16641660
/**
1665-
* Second dimension value (optional)
1666-
*
16671661
* @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the
16681662
* server responded with an unexpected value).
16691663
*/
@@ -1742,7 +1736,6 @@ private constructor(
17421736
additionalProperties = matrixScalingFactor.additionalProperties.toMutableMap()
17431737
}
17441738

1745-
/** First dimension value */
17461739
fun firstDimensionValue(firstDimensionValue: String) =
17471740
firstDimensionValue(JsonField.of(firstDimensionValue))
17481741

@@ -1757,7 +1750,6 @@ private constructor(
17571750
this.firstDimensionValue = firstDimensionValue
17581751
}
17591752

1760-
/** Scaling factor */
17611753
fun scalingFactor(scalingFactor: String) =
17621754
scalingFactor(JsonField.of(scalingFactor))
17631755

@@ -1772,7 +1764,6 @@ private constructor(
17721764
this.scalingFactor = scalingFactor
17731765
}
17741766

1775-
/** Second dimension value (optional) */
17761767
fun secondDimensionValue(secondDimensionValue: String?) =
17771768
secondDimensionValue(JsonField.ofNullable(secondDimensionValue))
17781769

orb-java-core/src/main/kotlin/com/withorb/api/models/NewFloatingThresholdTotalAmountPrice.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,8 +1491,6 @@ private constructor(
14911491
) : this(threshold, totalAmount, mutableMapOf())
14921492

14931493
/**
1494-
* Quantity threshold
1495-
*
14961494
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
14971495
* unexpectedly missing or null (e.g. if the server responded with an unexpected
14981496
* value).
@@ -1568,7 +1566,6 @@ private constructor(
15681566
additionalProperties = consumptionTable.additionalProperties.toMutableMap()
15691567
}
15701568

1571-
/** Quantity threshold */
15721569
fun threshold(threshold: String) = threshold(JsonField.of(threshold))
15731570

15741571
/**

0 commit comments

Comments
 (0)