File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed
finch-java-core/src/main/kotlin/com/tryfinch/api/models Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 40
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-69819ddc6d03624ee8d880317fca03afab50a0a843218f1d9f14616e8a003dad .yml
3- openapi_spec_hash : aaaf1428c428b79ff61b7cd02c7eee5c
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-63d6857158c2634529b468b53df0b9c02f42d6f9783399939a38986e3137a86f .yml
3+ openapi_spec_hash : 2c3aea6ae3e0a3dd7ac65c25b8fdc24d
44config_hash : 8303e755d3e16cf28542d5f0aec83851
Original file line number Diff line number Diff line change @@ -1199,7 +1199,10 @@ private constructor(
11991199 additionalProperties = phoneNumber.additionalProperties.toMutableMap()
12001200 }
12011201
1202- fun data (data : String ) = data(JsonField .of(data))
1202+ fun data (data : String? ) = data(JsonField .ofNullable(data))
1203+
1204+ /* * Alias for calling [Builder.data] with `data.orElse(null)`. */
1205+ fun data (data : Optional <String >) = data(data.getOrNull())
12031206
12041207 /* *
12051208 * Sets [Builder.data] to an arbitrary JSON value.
Original file line number Diff line number Diff line change @@ -2855,7 +2855,10 @@ private constructor(
28552855 additionalProperties = phoneNumber.additionalProperties.toMutableMap()
28562856 }
28572857
2858- fun data (data : String ) = data(JsonField .of(data))
2858+ fun data (data : String? ) = data(JsonField .ofNullable(data))
2859+
2860+ /* * Alias for calling [Builder.data] with `data.orElse(null)`. */
2861+ fun data (data : Optional <String >) = data(data.getOrNull())
28592862
28602863 /* *
28612864 * Sets [Builder.data] to an arbitrary JSON value.
Original file line number Diff line number Diff line change @@ -1791,7 +1791,10 @@ private constructor(
17911791 additionalProperties = phoneNumber.additionalProperties.toMutableMap()
17921792 }
17931793
1794- fun data (data : String ) = data(JsonField .of(data))
1794+ fun data (data : String? ) = data(JsonField .ofNullable(data))
1795+
1796+ /* * Alias for calling [Builder.data] with `data.orElse(null)`. */
1797+ fun data (data : Optional <String >) = data(data.getOrNull())
17951798
17961799 /* *
17971800 * Sets [Builder.data] to an arbitrary JSON value.
You can’t perform that action at this time.
0 commit comments