Skip to content

Commit 60695f9

Browse files
feat(api): api update (#137)
1 parent f9de4d8 commit 60695f9

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.stats.yml

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,8 +1929,8 @@ private constructor(
19291929

19301930
fun entryType(): EntryType = entryType.getRequired("entry_type")
19311931

1932-
fun newBlockExpiryDate(): OffsetDateTime =
1933-
newBlockExpiryDate.getRequired("new_block_expiry_date")
1932+
fun newBlockExpiryDate(): Optional<OffsetDateTime> =
1933+
Optional.ofNullable(newBlockExpiryDate.getNullable("new_block_expiry_date"))
19341934

19351935
/**
19361936
* User specified key-value pairs for the resource. If not present, this defaults to an

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,8 +1916,8 @@ private constructor(
19161916

19171917
fun entryType(): EntryType = entryType.getRequired("entry_type")
19181918

1919-
fun newBlockExpiryDate(): OffsetDateTime =
1920-
newBlockExpiryDate.getRequired("new_block_expiry_date")
1919+
fun newBlockExpiryDate(): Optional<OffsetDateTime> =
1920+
Optional.ofNullable(newBlockExpiryDate.getNullable("new_block_expiry_date"))
19211921

19221922
/**
19231923
* User specified key-value pairs for the resource. If not present, this defaults to an

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,8 +1927,8 @@ private constructor(
19271927

19281928
fun entryType(): EntryType = entryType.getRequired("entry_type")
19291929

1930-
fun newBlockExpiryDate(): OffsetDateTime =
1931-
newBlockExpiryDate.getRequired("new_block_expiry_date")
1930+
fun newBlockExpiryDate(): Optional<OffsetDateTime> =
1931+
Optional.ofNullable(newBlockExpiryDate.getNullable("new_block_expiry_date"))
19321932

19331933
/**
19341934
* User specified key-value pairs for the resource. If not present, this defaults to an

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,8 +1907,8 @@ private constructor(
19071907

19081908
fun entryType(): EntryType = entryType.getRequired("entry_type")
19091909

1910-
fun newBlockExpiryDate(): OffsetDateTime =
1911-
newBlockExpiryDate.getRequired("new_block_expiry_date")
1910+
fun newBlockExpiryDate(): Optional<OffsetDateTime> =
1911+
Optional.ofNullable(newBlockExpiryDate.getNullable("new_block_expiry_date"))
19121912

19131913
/**
19141914
* User specified key-value pairs for the resource. If not present, this defaults to an

0 commit comments

Comments
 (0)