Skip to content

Commit

Permalink
feat(api): api update (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 15, 2025
1 parent 6f4b238 commit 5c3b405
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 101
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-1720084d65e39f50455fe3a8756afc68fedf57306a727f92e4d020c28878df87.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-ac2f736602bc631b92de358a7edb395cf53ed506b2cb3d0494fffa31be9e2d9f.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ constructor(

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

Expand Down Expand Up @@ -373,7 +374,8 @@ constructor(

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

Expand Down Expand Up @@ -619,7 +621,8 @@ constructor(

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

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

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

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

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

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

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

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

0 comments on commit 5c3b405

Please sign in to comment.