@@ -178,20 +178,20 @@ class FinchClientAsyncImpl(private val clientOptions: ClientOptions) : FinchClie
178178 }
179179
180180 private data class GetAccessTokenParams (
181- @JsonProperty(" client_id" ) val clientId : String ,
182- @JsonProperty(" client_secret" ) val clientSecret : String ,
183- @JsonProperty(" code" ) val code : String ,
184- @JsonProperty(" redirect_uri" ) val redirectUri : String? ,
181+ @get: JsonProperty("client_id") val clientId : String ,
182+ @get: JsonProperty("client_secret") val clientSecret : String ,
183+ @get: JsonProperty("code") val code : String ,
184+ @get: JsonProperty("redirect_uri") val redirectUri : String? ,
185185 )
186186
187187 private data class GetAccessTokenResponse (
188- @JsonProperty(" access_token" ) val accessToken : String ,
189- @JsonProperty(" account_id" ) val accountId : String ,
190- @JsonProperty(" client_type" ) val clientType : String ,
191- @JsonProperty(" company_id" ) val companyId : String ,
192- @JsonProperty(" connection_type" ) val connectionType : String ,
193- @JsonProperty(" products" ) val products : List <String >,
194- @JsonProperty(" provider_id" ) val providerId : String ,
188+ @get: JsonProperty("access_token") val accessToken : String ,
189+ @get: JsonProperty("account_id") val accountId : String ,
190+ @get: JsonProperty("client_type") val clientType : String ,
191+ @get: JsonProperty("company_id") val companyId : String ,
192+ @get: JsonProperty("connection_type") val connectionType : String ,
193+ @get: JsonProperty("products") val products : List <String >,
194+ @get: JsonProperty("provider_id") val providerId : String ,
195195 )
196196
197197 override fun close () = clientOptions.httpClient.close()
0 commit comments