File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
finch-java-core/src/main/kotlin/com/tryfinch/api/core Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,20 @@ private constructor(
2424 @get:JvmName(" responseValidation" ) val responseValidation: Boolean ,
2525 @get:JvmName(" timeout" ) val timeout: Timeout ,
2626 @get:JvmName(" maxRetries" ) val maxRetries: Int ,
27- @get:JvmName( " accessToken " ) val accessToken: String? ,
28- @get:JvmName( " clientId " ) val clientId: String? ,
29- @get:JvmName( " clientSecret " ) val clientSecret: String? ,
30- @get:JvmName( " webhookSecret " ) val webhookSecret: String? ,
27+ private val accessToken: String? ,
28+ private val clientId: String? ,
29+ private val clientSecret: String? ,
30+ private val webhookSecret: String? ,
3131) {
3232
33+ fun accessToken (): Optional <String > = Optional .ofNullable(accessToken)
34+
35+ fun clientId (): Optional <String > = Optional .ofNullable(clientId)
36+
37+ fun clientSecret (): Optional <String > = Optional .ofNullable(clientSecret)
38+
39+ fun webhookSecret (): Optional <String > = Optional .ofNullable(webhookSecret)
40+
3341 fun toBuilder () = Builder ().from(this )
3442
3543 companion object {
You can’t perform that action at this time.
0 commit comments