Skip to content

Commit 5c3b405

Browse files
feat(api): api update (#198)
1 parent 6f4b238 commit 5c3b405

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 101
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-1720084d65e39f50455fe3a8756afc68fedf57306a727f92e4d020c28878df87.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-ac2f736602bc631b92de358a7edb395cf53ed506b2cb3d0494fffa31be9e2d9f.yml

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

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ constructor(
239239

240240
/**
241241
* The date that the plan change should take effect. This parameter can only be passed if the
242-
* `change_option` is `requested_date`.
242+
* `change_option` is `requested_date`. If a date with no time is passed, the plan change will
243+
* happen at midnight in the customer's timezone.
243244
*/
244245
fun changeDate(): Optional<OffsetDateTime> = body.changeDate()
245246

@@ -373,7 +374,8 @@ constructor(
373374

374375
/**
375376
* The date that the plan change should take effect. This parameter can only be passed if the
376-
* `change_option` is `requested_date`.
377+
* `change_option` is `requested_date`. If a date with no time is passed, the plan change will
378+
* happen at midnight in the customer's timezone.
377379
*/
378380
fun _changeDate(): JsonField<OffsetDateTime> = body._changeDate()
379381

@@ -619,7 +621,8 @@ constructor(
619621

620622
/**
621623
* The date that the plan change should take effect. This parameter can only be passed if
622-
* the `change_option` is `requested_date`.
624+
* the `change_option` is `requested_date`. If a date with no time is passed, the plan
625+
* change will happen at midnight in the customer's timezone.
623626
*/
624627
fun changeDate(): Optional<OffsetDateTime> =
625628
Optional.ofNullable(changeDate.getNullable("change_date"))
@@ -784,7 +787,8 @@ constructor(
784787

785788
/**
786789
* The date that the plan change should take effect. This parameter can only be passed if
787-
* the `change_option` is `requested_date`.
790+
* the `change_option` is `requested_date`. If a date with no time is passed, the plan
791+
* change will happen at midnight in the customer's timezone.
788792
*/
789793
@JsonProperty("change_date")
790794
@ExcludeMissing
@@ -1220,21 +1224,24 @@ constructor(
12201224

12211225
/**
12221226
* The date that the plan change should take effect. This parameter can only be passed
1223-
* if the `change_option` is `requested_date`.
1227+
* if the `change_option` is `requested_date`. If a date with no time is passed, the
1228+
* plan change will happen at midnight in the customer's timezone.
12241229
*/
12251230
fun changeDate(changeDate: OffsetDateTime?) =
12261231
changeDate(JsonField.ofNullable(changeDate))
12271232

12281233
/**
12291234
* The date that the plan change should take effect. This parameter can only be passed
1230-
* if the `change_option` is `requested_date`.
1235+
* if the `change_option` is `requested_date`. If a date with no time is passed, the
1236+
* plan change will happen at midnight in the customer's timezone.
12311237
*/
12321238
fun changeDate(changeDate: Optional<OffsetDateTime>) =
12331239
changeDate(changeDate.orElse(null))
12341240

12351241
/**
12361242
* The date that the plan change should take effect. This parameter can only be passed
1237-
* if the `change_option` is `requested_date`.
1243+
* if the `change_option` is `requested_date`. If a date with no time is passed, the
1244+
* plan change will happen at midnight in the customer's timezone.
12381245
*/
12391246
fun changeDate(changeDate: JsonField<OffsetDateTime>) = apply {
12401247
this.changeDate = changeDate
@@ -1956,19 +1963,22 @@ constructor(
19561963

19571964
/**
19581965
* The date that the plan change should take effect. This parameter can only be passed if
1959-
* the `change_option` is `requested_date`.
1966+
* the `change_option` is `requested_date`. If a date with no time is passed, the plan
1967+
* change will happen at midnight in the customer's timezone.
19601968
*/
19611969
fun changeDate(changeDate: OffsetDateTime?) = apply { body.changeDate(changeDate) }
19621970

19631971
/**
19641972
* The date that the plan change should take effect. This parameter can only be passed if
1965-
* the `change_option` is `requested_date`.
1973+
* the `change_option` is `requested_date`. If a date with no time is passed, the plan
1974+
* change will happen at midnight in the customer's timezone.
19661975
*/
19671976
fun changeDate(changeDate: Optional<OffsetDateTime>) = changeDate(changeDate.orElse(null))
19681977

19691978
/**
19701979
* The date that the plan change should take effect. This parameter can only be passed if
1971-
* the `change_option` is `requested_date`.
1980+
* the `change_option` is `requested_date`. If a date with no time is passed, the plan
1981+
* change will happen at midnight in the customer's timezone.
19721982
*/
19731983
fun changeDate(changeDate: JsonField<OffsetDateTime>) = apply {
19741984
body.changeDate(changeDate)

0 commit comments

Comments
 (0)