From d715e06c4ddf7482dd24f1cc8af248eee3fc0d3d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 4 Aug 2025 20:20:48 +0000 Subject: [PATCH 01/11] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index c01750cd7..afc0ba090 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 169 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-529662462c00af160f74568fe26dbe576cf1fdc9f427e11bb1939bd8acdcb43f.yml openapi_spec_hash: a98631dfc66716d41ada4ddb199f7028 -config_hash: 2d501901f343d00775037fcec4121983 +config_hash: 99dad20b4a7d4a1390670762b9da4231 From f72791f75b86e4c3597a40d6fd76edfb98ef1803 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 4 Aug 2025 20:27:48 +0000 Subject: [PATCH 02/11] chore(internal): add async lock helper --- .../main/kotlin/com/lithic/api/core/Utils.kt | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/Utils.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/Utils.kt index c31f1923b..5109aaf69 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/core/Utils.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/Utils.kt @@ -6,6 +6,8 @@ import com.lithic.api.core.http.Headers import com.lithic.api.errors.LithicInvalidDataException import java.util.Collections import java.util.SortedMap +import java.util.concurrent.CompletableFuture +import java.util.concurrent.locks.Lock @JvmSynthetic internal fun T?.getOrThrow(name: String): T = @@ -95,3 +97,24 @@ internal fun Headers.getRequiredHeader(name: String): String = values(name).firstOrNull() ?: throw LithicInvalidDataException("Could not find $name header") internal interface Enum + +/** + * Executes the given [action] while holding the lock, returning a [CompletableFuture] with the + * result. + * + * @param action The asynchronous action to execute while holding the lock + * @return A [CompletableFuture] that completes with the result of the action + */ +@JvmSynthetic +internal fun Lock.withLockAsync(action: () -> CompletableFuture): CompletableFuture { + lock() + val future = + try { + action() + } catch (e: Throwable) { + unlock() + throw e + } + future.whenComplete { _, _ -> unlock() } + return future +} From b4a3975dc3331bfc2d6a04e3f66cfce7b1a9e8c8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 5 Aug 2025 19:11:20 +0000 Subject: [PATCH 03/11] chore(example): fix run example comment --- lithic-java-example/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lithic-java-example/build.gradle.kts b/lithic-java-example/build.gradle.kts index 810bfa9f9..ac0add4e9 100644 --- a/lithic-java-example/build.gradle.kts +++ b/lithic-java-example/build.gradle.kts @@ -18,7 +18,7 @@ tasks.withType().configureEach { application { // Use `./gradlew :lithic-java-example:run` to run `Main` - // Use `./gradlew :lithic-java-example:run -Dexample=Something` to run `SomethingExample` + // Use `./gradlew :lithic-java-example:run -Pexample=Something` to run `SomethingExample` mainClass = "com.lithic.api.example.${ if (project.hasProperty("example")) "${project.property("example")}Example" From 99fb198db3839a4e7679f44f143a100136d539d7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 7 Aug 2025 16:18:23 +0000 Subject: [PATCH 04/11] chore: increase max gradle JVM heap to 8GB --- gradle.properties | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index ff76593f6..6680f9ce9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,12 +4,13 @@ org.gradle.parallel=true org.gradle.daemon=false # These options improve our compilation and test performance. They are inherited by the Kotlin daemon. org.gradle.jvmargs=\ - -Xms1g \ - -Xmx4g \ + -Xms2g \ + -Xmx8g \ -XX:+UseParallelGC \ -XX:InitialCodeCacheSize=256m \ -XX:ReservedCodeCacheSize=1G \ - -XX:MetaspaceSize=256m \ + -XX:MetaspaceSize=512m \ + -XX:MaxMetaspaceSize=2G \ -XX:TieredStopAtLevel=1 \ -XX:GCTimeRatio=4 \ -XX:CICompilerCount=4 \ From 09e01b1e84b9b4f434da61189ebd681b8187e09b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 8 Aug 2025 18:04:20 +0000 Subject: [PATCH 05/11] chore: update @stainless-api/prism-cli to v5.15.0 --- scripts/mock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mock b/scripts/mock index d2814ae6a..0b28f6ea2 100755 --- a/scripts/mock +++ b/scripts/mock @@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}" # Run prism mock on the given spec if [ "$1" == "--daemon" ]; then - npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock "$URL" &> .prism.log & + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log & # Wait for server to come online echo -n "Waiting for server" @@ -37,5 +37,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock "$URL" + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" fi From f36b145db97f756b4ea77dbe25b1bebad35caa47 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 8 Aug 2025 21:28:52 +0000 Subject: [PATCH 06/11] chore(internal): update comment in script --- scripts/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test b/scripts/test index 6b750a74e..2177cb8ae 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! prism_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the prism command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stoplight/prism-cli@~5.3.2 -- prism mock path/to/your.openapi.yml${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}" echo exit 1 From df0a46a55246472e722c718fa5386eba6c13da94 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 00:46:29 +0000 Subject: [PATCH 07/11] chore(internal): format identity methods --- .../kotlin/com/lithic/api/core/Timeout.kt | 8 +- .../kotlin/com/lithic/api/models/Account.kt | 75 ++- .../api/models/AccountActivityListPage.kt | 7 +- .../models/AccountActivityListPageAsync.kt | 8 +- .../models/AccountActivityListPageResponse.kt | 7 +- .../api/models/AccountActivityListParams.kt | 36 +- .../api/models/AccountActivityListResponse.kt | 340 ++++++++++-- ...ccountActivityRetrieveTransactionParams.kt | 8 +- ...ountActivityRetrieveTransactionResponse.kt | 340 ++++++++++-- .../api/models/AccountFinancialAccountType.kt | 2 +- .../com/lithic/api/models/AccountHolder.kt | 126 ++++- .../api/models/AccountHolderCreateParams.kt | 14 +- .../api/models/AccountHolderCreateResponse.kt | 29 +- .../AccountHolderListDocumentsParams.kt | 8 +- .../AccountHolderListDocumentsResponse.kt | 6 +- .../api/models/AccountHolderListPage.kt | 7 +- .../api/models/AccountHolderListPageAsync.kt | 8 +- .../models/AccountHolderListPageResponse.kt | 7 +- .../api/models/AccountHolderListParams.kt | 32 +- .../AccountHolderRetrieveDocumentParams.kt | 9 +- .../api/models/AccountHolderRetrieveParams.kt | 8 +- ...rSimulateEnrollmentDocumentReviewParams.kt | 30 +- ...untHolderSimulateEnrollmentReviewParams.kt | 23 +- ...tHolderSimulateEnrollmentReviewResponse.kt | 124 ++++- .../api/models/AccountHolderUpdateParams.kt | 156 +++++- .../api/models/AccountHolderUpdateResponse.kt | 180 +++++-- .../AccountHolderUploadDocumentParams.kt | 22 +- .../com/lithic/api/models/AccountListPage.kt | 7 +- .../lithic/api/models/AccountListPageAsync.kt | 8 +- .../api/models/AccountListPageResponse.kt | 7 +- .../lithic/api/models/AccountListParams.kt | 20 +- .../api/models/AccountRetrieveParams.kt | 8 +- .../AccountRetrieveSpendLimitsParams.kt | 8 +- .../lithic/api/models/AccountSpendLimits.kt | 48 +- .../lithic/api/models/AccountUpdateParams.kt | 53 +- .../kotlin/com/lithic/api/models/Address.kt | 15 +- .../com/lithic/api/models/AddressUpdate.kt | 15 +- .../com/lithic/api/models/AggregateBalance.kt | 33 +- .../api/models/AggregateBalanceListPage.kt | 7 +- .../models/AggregateBalanceListPageAsync.kt | 8 +- .../AggregateBalanceListPageResponse.kt | 7 +- .../api/models/AggregateBalanceListParams.kt | 10 +- .../models/AggregateBalanceListResponse.kt | 29 +- .../kotlin/com/lithic/api/models/ApiStatus.kt | 6 +- .../kotlin/com/lithic/api/models/AuthRule.kt | 31 +- .../lithic/api/models/AuthRuleCondition.kt | 21 +- .../api/models/AuthRuleV2ApplyParams.kt | 44 +- .../models/AuthRuleV2BacktestCreateParams.kt | 16 +- .../AuthRuleV2BacktestRetrieveParams.kt | 9 +- .../api/models/AuthRuleV2CreateParams.kt | 114 +++- .../api/models/AuthRuleV2DeleteParams.kt | 14 +- .../api/models/AuthRuleV2DraftParams.kt | 24 +- .../lithic/api/models/AuthRuleV2ListPage.kt | 7 +- .../api/models/AuthRuleV2ListPageAsync.kt | 8 +- .../api/models/AuthRuleV2ListPageResponse.kt | 7 +- .../lithic/api/models/AuthRuleV2ListParams.kt | 28 +- .../api/models/AuthRuleV2PromoteParams.kt | 14 +- .../api/models/AuthRuleV2ReportParams.kt | 14 +- .../api/models/AuthRuleV2RetrieveParams.kt | 8 +- .../models/AuthRuleV2RetrieveReportParams.kt | 10 +- .../api/models/AuthRuleV2UpdateParams.kt | 60 ++- ...uthStreamEnrollmentRetrieveSecretParams.kt | 6 +- .../AuthStreamEnrollmentRotateSecretParams.kt | 8 +- .../com/lithic/api/models/AuthStreamSecret.kt | 6 +- .../models/AuthenticationRetrieveResponse.kt | 284 +++++++--- .../models/AuthenticationSimulateResponse.kt | 6 +- .../api/models/BacktestCreateResponse.kt | 6 +- .../com/lithic/api/models/BacktestResults.kt | 35 +- .../kotlin/com/lithic/api/models/Balance.kt | 33 +- .../com/lithic/api/models/BalanceListPage.kt | 7 +- .../lithic/api/models/BalanceListPageAsync.kt | 8 +- .../api/models/BalanceListPageResponse.kt | 7 +- .../lithic/api/models/BalanceListParams.kt | 20 +- .../lithic/api/models/BalanceListResponse.kt | 33 +- .../api/models/BookTransferCreateParams.kt | 38 +- .../lithic/api/models/BookTransferListPage.kt | 7 +- .../api/models/BookTransferListPageAsync.kt | 8 +- .../models/BookTransferListPageResponse.kt | 7 +- .../api/models/BookTransferListParams.kt | 38 +- .../lithic/api/models/BookTransferResponse.kt | 93 +++- .../api/models/BookTransferRetrieveParams.kt | 8 +- .../api/models/BookTransferReverseParams.kt | 15 +- .../main/kotlin/com/lithic/api/models/Card.kt | 63 ++- .../models/CardAggregateBalanceListPage.kt | 7 +- .../CardAggregateBalanceListPageAsync.kt | 8 +- .../CardAggregateBalanceListPageResponse.kt | 7 +- .../models/CardAggregateBalanceListParams.kt | 9 +- .../lithic/api/models/CardBalanceListPage.kt | 7 +- .../api/models/CardBalanceListPageAsync.kt | 8 +- .../api/models/CardBalanceListPageResponse.kt | 7 +- .../api/models/CardBalanceListParams.kt | 16 +- .../api/models/CardConvertPhysicalParams.kt | 24 +- .../com/lithic/api/models/CardCreateParams.kt | 66 ++- .../com/lithic/api/models/CardEmbedParams.kt | 9 +- .../CardFinancialTransactionListPage.kt | 7 +- .../CardFinancialTransactionListPageAsync.kt | 8 +- ...ardFinancialTransactionListPageResponse.kt | 7 +- .../CardFinancialTransactionListParams.kt | 32 +- .../CardFinancialTransactionRetrieveParams.kt | 9 +- .../com/lithic/api/models/CardListPage.kt | 7 +- .../lithic/api/models/CardListPageAsync.kt | 8 +- .../lithic/api/models/CardListPageResponse.kt | 7 +- .../com/lithic/api/models/CardListParams.kt | 28 +- .../com/lithic/api/models/CardProgram.kt | 27 +- .../lithic/api/models/CardProgramListPage.kt | 7 +- .../api/models/CardProgramListPageAsync.kt | 8 +- .../api/models/CardProgramListPageResponse.kt | 7 +- .../api/models/CardProgramListParams.kt | 16 +- .../api/models/CardProgramRetrieveParams.kt | 8 +- .../lithic/api/models/CardProvisionParams.kt | 36 +- .../api/models/CardProvisionResponse.kt | 6 +- .../lithic/api/models/CardReissueParams.kt | 24 +- .../com/lithic/api/models/CardRenewParams.kt | 34 +- .../lithic/api/models/CardRetrieveParams.kt | 7 +- .../models/CardRetrieveSpendLimitsParams.kt | 7 +- .../api/models/CardSearchByPanParams.kt | 13 +- .../com/lithic/api/models/CardSpendLimits.kt | 48 +- .../com/lithic/api/models/CardUpdateParams.kt | 46 +- .../api/models/CardWebProvisionParams.kt | 17 +- .../api/models/CardWebProvisionResponse.kt | 26 +- .../kotlin/com/lithic/api/models/Carrier.kt | 6 +- .../lithic/api/models/ChallengeResponse.kt | 11 +- .../com/lithic/api/models/ChallengeResult.kt | 2 +- .../api/models/ClientApiStatusParams.kt | 6 +- .../models/Conditional3dsActionParameters.kt | 32 +- .../lithic/api/models/ConditionalAttribute.kt | 2 +- .../api/models/ConditionalBlockParameters.kt | 6 +- ...editProductExtendedCreditRetrieveParams.kt | 8 +- .../CreditProductPrimeRateCreateParams.kt | 20 +- .../CreditProductPrimeRateRetrieveParams.kt | 16 +- .../DecisioningRetrieveSecretResponse.kt | 6 +- .../com/lithic/api/models/DigitalCardArt.kt | 27 +- .../api/models/DigitalCardArtListPage.kt | 7 +- .../api/models/DigitalCardArtListPageAsync.kt | 8 +- .../models/DigitalCardArtListPageResponse.kt | 7 +- .../api/models/DigitalCardArtListParams.kt | 16 +- .../models/DigitalCardArtRetrieveParams.kt | 8 +- .../kotlin/com/lithic/api/models/Dispute.kt | 53 +- .../lithic/api/models/DisputeCreateParams.kt | 32 +- .../api/models/DisputeDeleteEvidenceParams.kt | 16 +- .../lithic/api/models/DisputeDeleteParams.kt | 14 +- .../com/lithic/api/models/DisputeEvidence.kt | 27 +- .../DisputeInitiateEvidenceUploadParams.kt | 15 +- .../api/models/DisputeListEvidencesPage.kt | 7 +- .../models/DisputeListEvidencesPageAsync.kt | 8 +- .../DisputeListEvidencesPageResponse.kt | 7 +- .../api/models/DisputeListEvidencesParams.kt | 22 +- .../com/lithic/api/models/DisputeListPage.kt | 7 +- .../lithic/api/models/DisputeListPageAsync.kt | 8 +- .../api/models/DisputeListPageResponse.kt | 7 +- .../lithic/api/models/DisputeListParams.kt | 26 +- .../models/DisputeRetrieveEvidenceParams.kt | 9 +- .../api/models/DisputeRetrieveParams.kt | 8 +- .../lithic/api/models/DisputeUpdateParams.kt | 24 +- .../kotlin/com/lithic/api/models/Document.kt | 58 +- .../EnhancedCommercialDataRetrieveResponse.kt | 6 +- .../com/lithic/api/models/EnhancedData.kt | 116 ++-- .../kotlin/com/lithic/api/models/Event.kt | 19 +- .../EventEventSubscriptionResendParams.kt | 16 +- .../api/models/EventListAttemptsPage.kt | 7 +- .../api/models/EventListAttemptsPageAsync.kt | 8 +- .../models/EventListAttemptsPageResponse.kt | 7 +- .../api/models/EventListAttemptsParams.kt | 26 +- .../com/lithic/api/models/EventListPage.kt | 7 +- .../lithic/api/models/EventListPageAsync.kt | 8 +- .../api/models/EventListPageResponse.kt | 7 +- .../com/lithic/api/models/EventListParams.kt | 26 +- .../lithic/api/models/EventRetrieveParams.kt | 8 +- .../lithic/api/models/EventSubscription.kt | 16 +- .../models/EventSubscriptionCreateParams.kt | 22 +- .../models/EventSubscriptionDeleteParams.kt | 14 +- .../EventSubscriptionListAttemptsPage.kt | 7 +- .../EventSubscriptionListAttemptsPageAsync.kt | 8 +- ...entSubscriptionListAttemptsPageResponse.kt | 7 +- .../EventSubscriptionListAttemptsParams.kt | 26 +- .../api/models/EventSubscriptionListPage.kt | 7 +- .../models/EventSubscriptionListPageAsync.kt | 8 +- .../EventSubscriptionListPageResponse.kt | 7 +- .../api/models/EventSubscriptionListParams.kt | 16 +- .../models/EventSubscriptionRecoverParams.kt | 18 +- .../EventSubscriptionReplayMissingParams.kt | 18 +- .../models/EventSubscriptionRetrieveParams.kt | 8 +- .../EventSubscriptionRetrieveSecretParams.kt | 8 +- .../EventSubscriptionRotateSecretParams.kt | 14 +- ...tSubscriptionSendSimulatedExampleParams.kt | 17 +- .../models/EventSubscriptionUpdateParams.kt | 24 +- .../com/lithic/api/models/ExtendedCredit.kt | 6 +- .../api/models/ExternalBankAccountAddress.kt | 15 +- .../models/ExternalBankAccountCreateParams.kt | 188 ++++++- .../ExternalBankAccountCreateResponse.kt | 65 ++- .../api/models/ExternalBankAccountListPage.kt | 7 +- .../ExternalBankAccountListPageAsync.kt | 8 +- .../ExternalBankAccountListPageResponse.kt | 7 +- .../models/ExternalBankAccountListParams.kt | 34 +- .../models/ExternalBankAccountListResponse.kt | 65 ++- ...rnalBankAccountMicroDepositCreateParams.kt | 15 +- .../ExternalBankAccountRetrieveParams.kt | 8 +- .../ExternalBankAccountRetrieveResponse.kt | 65 ++- ...rnalBankAccountRetryMicroDepositsParams.kt | 19 +- ...alBankAccountRetryMicroDepositsResponse.kt | 65 ++- .../ExternalBankAccountRetryPrenoteParams.kt | 19 +- ...ExternalBankAccountRetryPrenoteResponse.kt | 61 ++- .../models/ExternalBankAccountUpdateParams.kt | 40 +- .../ExternalBankAccountUpdateResponse.kt | 65 ++- .../com/lithic/api/models/ExternalPayment.kt | 82 ++- .../api/models/ExternalPaymentCancelParams.kt | 20 +- .../api/models/ExternalPaymentCreateParams.kt | 42 +- .../api/models/ExternalPaymentListPage.kt | 7 +- .../models/ExternalPaymentListPageAsync.kt | 8 +- .../models/ExternalPaymentListPageResponse.kt | 7 +- .../api/models/ExternalPaymentListParams.kt | 36 +- .../models/ExternalPaymentReleaseParams.kt | 20 +- .../models/ExternalPaymentRetrieveParams.kt | 8 +- .../models/ExternalPaymentReverseParams.kt | 20 +- .../api/models/ExternalPaymentSettleParams.kt | 23 +- .../com/lithic/api/models/ExternalResource.kt | 17 +- .../lithic/api/models/ExternalResourceType.kt | 2 +- .../com/lithic/api/models/FinancialAccount.kt | 70 ++- .../models/FinancialAccountBalanceListPage.kt | 7 +- .../FinancialAccountBalanceListPageAsync.kt | 8 +- ...FinancialAccountBalanceListPageResponse.kt | 7 +- .../FinancialAccountBalanceListParams.kt | 16 +- .../models/FinancialAccountCreateParams.kt | 24 +- .../models/FinancialAccountCreditConfig.kt | 31 +- ...ccountCreditConfigurationRetrieveParams.kt | 8 +- ...lAccountCreditConfigurationUpdateParams.kt | 30 +- .../api/models/FinancialAccountListPage.kt | 7 +- .../models/FinancialAccountListPageAsync.kt | 8 +- .../FinancialAccountListPageResponse.kt | 7 +- .../api/models/FinancialAccountListParams.kt | 18 +- .../FinancialAccountLoanTapeListPage.kt | 7 +- .../FinancialAccountLoanTapeListPageAsync.kt | 8 +- ...inancialAccountLoanTapeListPageResponse.kt | 7 +- .../FinancialAccountLoanTapeListParams.kt | 22 +- .../FinancialAccountLoanTapeRetrieveParams.kt | 9 +- ...ncialAccountRegisterAccountNumberParams.kt | 15 +- .../models/FinancialAccountRetrieveParams.kt | 8 +- ...nancialAccountStatementLineItemListPage.kt | 7 +- ...alAccountStatementLineItemListPageAsync.kt | 8 +- ...ncialAccountStatementLineItemListParams.kt | 20 +- .../FinancialAccountStatementListPage.kt | 7 +- .../FinancialAccountStatementListPageAsync.kt | 8 +- .../FinancialAccountStatementListParams.kt | 24 +- ...FinancialAccountStatementRetrieveParams.kt | 14 +- .../models/FinancialAccountUpdateParams.kt | 15 +- .../FinancialAccountUpdateStatusParams.kt | 20 +- .../lithic/api/models/FinancialTransaction.kt | 57 +- .../models/FinancialTransactionListPage.kt | 7 +- .../FinancialTransactionListPageAsync.kt | 8 +- .../FinancialTransactionListPageResponse.kt | 7 +- .../models/FinancialTransactionListParams.kt | 32 +- .../FinancialTransactionRetrieveParams.kt | 14 +- .../models/FraudTransactionReportParams.kt | 25 +- .../models/FraudTransactionRetrieveParams.kt | 8 +- .../lithic/api/models/FundingEventListPage.kt | 7 +- .../api/models/FundingEventListPageAsync.kt | 8 +- .../models/FundingEventListPageResponse.kt | 7 +- .../api/models/FundingEventListParams.kt | 16 +- .../api/models/FundingEventListResponse.kt | 40 +- .../FundingEventRetrieveDetailsParams.kt | 8 +- .../FundingEventRetrieveDetailsResponse.kt | 12 +- .../api/models/FundingEventRetrieveParams.kt | 8 +- .../models/FundingEventRetrieveResponse.kt | 40 +- .../models/InstanceFinancialAccountType.kt | 2 +- .../main/kotlin/com/lithic/api/models/Kyb.kt | 81 ++- .../lithic/api/models/KybBusinessEntity.kt | 38 +- .../main/kotlin/com/lithic/api/models/Kyc.kt | 48 +- .../kotlin/com/lithic/api/models/KycExempt.kt | 33 +- .../kotlin/com/lithic/api/models/LoanTape.kt | 207 ++++++-- .../models/ManagementOperationCreateParams.kt | 48 +- .../api/models/ManagementOperationListPage.kt | 7 +- .../ManagementOperationListPageAsync.kt | 8 +- .../ManagementOperationListPageResponse.kt | 7 +- .../models/ManagementOperationListParams.kt | 32 +- .../ManagementOperationRetrieveParams.kt | 8 +- .../ManagementOperationReverseParams.kt | 20 +- .../models/ManagementOperationTransaction.kt | 105 +++- .../api/models/MerchantLockParameters.kt | 18 +- .../com/lithic/api/models/MessageAttempt.kt | 29 +- .../api/models/MicroDepositCreateResponse.kt | 65 ++- .../com/lithic/api/models/NetworkProgram.kt | 19 +- .../api/models/NetworkProgramListPage.kt | 7 +- .../api/models/NetworkProgramListPageAsync.kt | 8 +- .../models/NetworkProgramListPageResponse.kt | 7 +- .../api/models/NetworkProgramListParams.kt | 10 +- .../models/NetworkProgramRetrieveParams.kt | 8 +- .../api/models/NetworkTotalListResponse.kt | 56 +- .../models/NetworkTotalRetrieveResponse.kt | 56 +- .../com/lithic/api/models/NonPciCard.kt | 96 +++- .../kotlin/com/lithic/api/models/OwnerType.kt | 2 +- .../kotlin/com/lithic/api/models/Payment.kt | 134 ++++- .../lithic/api/models/PaymentCreateParams.kt | 49 +- .../api/models/PaymentCreateResponse.kt | 53 +- .../com/lithic/api/models/PaymentListPage.kt | 7 +- .../lithic/api/models/PaymentListPageAsync.kt | 8 +- .../api/models/PaymentListPageResponse.kt | 7 +- .../lithic/api/models/PaymentListParams.kt | 38 +- .../api/models/PaymentRetrieveParams.kt | 8 +- .../lithic/api/models/PaymentRetryParams.kt | 14 +- .../lithic/api/models/PaymentRetryResponse.kt | 53 +- .../api/models/PaymentSimulateActionParams.kt | 25 +- .../models/PaymentSimulateActionResponse.kt | 14 +- .../models/PaymentSimulateReceiptParams.kt | 32 +- .../models/PaymentSimulateReceiptResponse.kt | 14 +- .../models/PaymentSimulateReleaseParams.kt | 13 +- .../models/PaymentSimulateReleaseResponse.kt | 14 +- .../api/models/PaymentSimulateReturnParams.kt | 18 +- .../models/PaymentSimulateReturnResponse.kt | 14 +- .../api/models/PrimeRateRetrieveResponse.kt | 18 +- .../models/ReportSettlementListDetailsPage.kt | 7 +- .../ReportSettlementListDetailsPageAsync.kt | 8 +- ...ReportSettlementListDetailsPageResponse.kt | 7 +- .../ReportSettlementListDetailsParams.kt | 18 +- .../ReportSettlementNetworkTotalListPage.kt | 7 +- ...portSettlementNetworkTotalListPageAsync.kt | 8 +- ...tSettlementNetworkTotalListPageResponse.kt | 7 +- .../ReportSettlementNetworkTotalListParams.kt | 34 +- ...ortSettlementNetworkTotalRetrieveParams.kt | 7 +- .../models/ReportSettlementSummaryParams.kt | 8 +- .../com/lithic/api/models/RequiredDocument.kt | 12 +- .../ResponderEndpointCheckStatusParams.kt | 9 +- .../models/ResponderEndpointCreateParams.kt | 16 +- .../models/ResponderEndpointCreateResponse.kt | 6 +- .../models/ResponderEndpointDeleteParams.kt | 11 +- .../api/models/ResponderEndpointStatus.kt | 7 +- .../kotlin/com/lithic/api/models/RuleStats.kt | 29 +- .../com/lithic/api/models/SettlementDetail.kt | 63 ++- .../com/lithic/api/models/SettlementReport.kt | 33 +- .../api/models/SettlementSummaryDetails.kt | 29 +- .../com/lithic/api/models/ShippingAddress.kt | 33 +- .../lithic/api/models/SpendLimitDuration.kt | 2 +- .../kotlin/com/lithic/api/models/Statement.kt | 170 ++++-- .../lithic/api/models/StatementLineItems.kt | 46 +- .../com/lithic/api/models/Statements.kt | 7 +- .../SubscriptionRetrieveSecretResponse.kt | 6 +- .../ThreeDSAuthenticationRetrieveParams.kt | 8 +- ...eDSAuthenticationSimulateOtpEntryParams.kt | 14 +- .../ThreeDSAuthenticationSimulateParams.kt | 42 +- ...reeDSDecisioningChallengeResponseParams.kt | 8 +- .../ThreeDSDecisioningRetrieveSecretParams.kt | 6 +- .../ThreeDSDecisioningRotateSecretParams.kt | 8 +- .../com/lithic/api/models/Tokenization.kt | 60 ++- .../api/models/TokenizationActivateParams.kt | 14 +- .../models/TokenizationDeactivateParams.kt | 14 +- ...nizationDecisioningRetrieveSecretParams.kt | 6 +- ...kenizationDecisioningRotateSecretParams.kt | 8 +- ...nizationDecisioningRotateSecretResponse.kt | 6 +- .../lithic/api/models/TokenizationListPage.kt | 7 +- .../api/models/TokenizationListPageAsync.kt | 8 +- .../models/TokenizationListPageResponse.kt | 7 +- .../api/models/TokenizationListParams.kt | 28 +- .../api/models/TokenizationPauseParams.kt | 14 +- .../TokenizationResendActivationCodeParams.kt | 21 +- .../api/models/TokenizationRetrieveParams.kt | 8 +- .../lithic/api/models/TokenizationSecret.kt | 6 +- .../api/models/TokenizationSimulateParams.kt | 38 +- .../models/TokenizationSimulateResponse.kt | 6 +- .../api/models/TokenizationUnpauseParams.kt | 14 +- .../TokenizationUpdateDigitalCardArtParams.kt | 19 +- ...okenizationUpdateDigitalCardArtResponse.kt | 6 +- .../com/lithic/api/models/Transaction.kt | 499 +++++++++++++----- ...ionEnhancedCommercialDataRetrieveParams.kt | 8 +- ...entEnhancedCommercialDataRetrieveParams.kt | 8 +- .../TransactionExpireAuthorizationParams.kt | 14 +- .../lithic/api/models/TransactionListPage.kt | 7 +- .../api/models/TransactionListPageAsync.kt | 8 +- .../api/models/TransactionListPageResponse.kt | 7 +- .../api/models/TransactionListParams.kt | 32 +- .../api/models/TransactionReportResponse.kt | 27 +- .../api/models/TransactionRetrieveParams.kt | 8 +- .../api/models/TransactionRetrieveResponse.kt | 27 +- ...actionSimulateAuthorizationAdviceParams.kt | 14 +- ...tionSimulateAuthorizationAdviceResponse.kt | 11 +- .../TransactionSimulateAuthorizationParams.kt | 40 +- ...ransactionSimulateAuthorizationResponse.kt | 11 +- .../TransactionSimulateClearingParams.kt | 14 +- .../TransactionSimulateClearingResponse.kt | 6 +- ...actionSimulateCreditAuthorizationParams.kt | 21 +- ...tionSimulateCreditAuthorizationResponse.kt | 11 +- .../models/TransactionSimulateReturnParams.kt | 19 +- .../TransactionSimulateReturnResponse.kt | 11 +- ...TransactionSimulateReturnReversalParams.kt | 13 +- ...ansactionSimulateReturnReversalResponse.kt | 6 +- .../models/TransactionSimulateVoidParams.kt | 21 +- .../models/TransactionSimulateVoidResponse.kt | 6 +- .../kotlin/com/lithic/api/models/Transfer.kt | 61 ++- .../lithic/api/models/TransferCreateParams.kt | 21 +- .../com/lithic/api/models/V2ApplyResponse.kt | 89 +++- .../com/lithic/api/models/V2CreateResponse.kt | 89 +++- .../com/lithic/api/models/V2DraftResponse.kt | 89 +++- .../com/lithic/api/models/V2ListResponse.kt | 89 +++- .../lithic/api/models/V2PromoteResponse.kt | 89 +++- .../com/lithic/api/models/V2ReportResponse.kt | 6 +- .../api/models/V2RetrieveReportResponse.kt | 30 +- .../lithic/api/models/V2RetrieveResponse.kt | 89 +++- .../com/lithic/api/models/V2UpdateResponse.kt | 89 +++- .../lithic/api/models/VelocityLimitParams.kt | 35 +- .../models/VelocityLimitParamsPeriodWindow.kt | 71 ++- .../lithic/api/models/VerificationMethod.kt | 2 +- 399 files changed, 8381 insertions(+), 2363 deletions(-) diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/Timeout.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/Timeout.kt index 9885e794b..9bc7aa4ae 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/core/Timeout.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/Timeout.kt @@ -157,10 +157,14 @@ private constructor( return true } - return /* spotless:off */ other is Timeout && connect == other.connect && read == other.read && write == other.write && request == other.request /* spotless:on */ + return other is Timeout && + connect == other.connect && + read == other.read && + write == other.write && + request == other.request } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(connect, read, write, request) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(connect, read, write, request) override fun toString() = "Timeout{connect=$connect, read=$read, write=$write, request=$request}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt index 82242b23b..72dbc254e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt @@ -851,12 +851,16 @@ private constructor( return true } - return /* spotless:off */ other is SpendLimit && daily == other.daily && lifetime == other.lifetime && monthly == other.monthly && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SpendLimit && + daily == other.daily && + lifetime == other.lifetime && + monthly == other.monthly && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(daily, lifetime, monthly, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(daily, lifetime, monthly, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -998,7 +1002,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1282,12 +1286,17 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolder && token == other.token && businessAccountToken == other.businessAccountToken && email == other.email && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountHolder && + token == other.token && + businessAccountToken == other.businessAccountToken && + email == other.email && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, businessAccountToken, email, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(token, businessAccountToken, email, phoneNumber, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1476,7 +1485,7 @@ private constructor( return true } - return /* spotless:off */ other is Substatus && value == other.value /* spotless:on */ + return other is Substatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1825,12 +1834,19 @@ private constructor( return true } - return /* spotless:off */ other is VerificationAddress && address1 == other.address1 && city == other.city && country == other.country && postalCode == other.postalCode && state == other.state && address2 == other.address2 && additionalProperties == other.additionalProperties /* spotless:on */ + return other is VerificationAddress && + address1 == other.address1 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + state == other.state && + address2 == other.address2 && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1843,12 +1859,35 @@ private constructor( return true } - return /* spotless:off */ other is Account && token == other.token && created == other.created && spendLimit == other.spendLimit && state == other.state && accountHolder == other.accountHolder && authRuleTokens == other.authRuleTokens && cardholderCurrency == other.cardholderCurrency && comment == other.comment && substatus == other.substatus && verificationAddress == other.verificationAddress && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Account && + token == other.token && + created == other.created && + spendLimit == other.spendLimit && + state == other.state && + accountHolder == other.accountHolder && + authRuleTokens == other.authRuleTokens && + cardholderCurrency == other.cardholderCurrency && + comment == other.comment && + substatus == other.substatus && + verificationAddress == other.verificationAddress && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, created, spendLimit, state, accountHolder, authRuleTokens, cardholderCurrency, comment, substatus, verificationAddress, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + created, + spendLimit, + state, + accountHolder, + authRuleTokens, + cardholderCurrency, + comment, + substatus, + verificationAddress, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPage.kt index 3f32e1ddd..a9dad29b2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPage.kt @@ -200,10 +200,13 @@ private constructor( return true } - return /* spotless:off */ other is AccountActivityListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is AccountActivityListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "AccountActivityListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageAsync.kt index e80c694b0..5fd09f7a0 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageAsync.kt @@ -214,10 +214,14 @@ private constructor( return true } - return /* spotless:off */ other is AccountActivityListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is AccountActivityListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "AccountActivityListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt index 0f72a8019..c58fceb41 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt @@ -250,12 +250,13 @@ private constructor( return true } - return /* spotless:off */ other is AccountActivityListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountActivityListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListParams.kt index 0cf2ccc86..148aed636 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListParams.kt @@ -563,7 +563,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionCategory && value == other.value /* spotless:on */ + return other is TransactionCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -688,7 +688,7 @@ private constructor( return true } - return /* spotless:off */ other is Result && value == other.value /* spotless:on */ + return other is Result && value == other.value } override fun hashCode() = value.hashCode() @@ -843,7 +843,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -856,10 +856,36 @@ private constructor( return true } - return /* spotless:off */ other is AccountActivityListParams && begin == other.begin && businessAccountToken == other.businessAccountToken && category == other.category && end == other.end && endingBefore == other.endingBefore && financialAccountToken == other.financialAccountToken && pageSize == other.pageSize && result == other.result && startingAfter == other.startingAfter && status == other.status && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountActivityListParams && + begin == other.begin && + businessAccountToken == other.businessAccountToken && + category == other.category && + end == other.end && + endingBefore == other.endingBefore && + financialAccountToken == other.financialAccountToken && + pageSize == other.pageSize && + result == other.result && + startingAfter == other.startingAfter && + status == other.status && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(begin, businessAccountToken, category, end, endingBefore, financialAccountToken, pageSize, result, startingAfter, status, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + begin, + businessAccountToken, + category, + end, + endingBefore, + financialAccountToken, + pageSize, + result, + startingAfter, + status, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "AccountActivityListParams{begin=$begin, businessAccountToken=$businessAccountToken, category=$category, end=$end, endingBefore=$endingBefore, financialAccountToken=$financialAccountToken, pageSize=$pageSize, result=$result, startingAfter=$startingAfter, status=$status, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt index 2f768d2ad..22a0f655a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt @@ -200,10 +200,24 @@ private constructor( return true } - return /* spotless:off */ other is AccountActivityListResponse && financialTransaction == other.financialTransaction && bookTransferTransaction == other.bookTransferTransaction && cardTransaction == other.cardTransaction && paymentTransaction == other.paymentTransaction && externalPayment == other.externalPayment && managementOperationTransaction == other.managementOperationTransaction /* spotless:on */ + return other is AccountActivityListResponse && + financialTransaction == other.financialTransaction && + bookTransferTransaction == other.bookTransferTransaction && + cardTransaction == other.cardTransaction && + paymentTransaction == other.paymentTransaction && + externalPayment == other.externalPayment && + managementOperationTransaction == other.managementOperationTransaction } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialTransaction, bookTransferTransaction, cardTransaction, paymentTransaction, externalPayment, managementOperationTransaction) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + financialTransaction, + bookTransferTransaction, + cardTransaction, + paymentTransaction, + externalPayment, + managementOperationTransaction, + ) override fun toString(): String = when { @@ -1210,7 +1224,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionCategory && value == other.value /* spotless:on */ + return other is TransactionCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -1369,7 +1383,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -1503,7 +1517,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -1655,7 +1669,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1668,12 +1682,41 @@ private constructor( return true } - return /* spotless:off */ other is FinancialTransaction && token == other.token && category == other.category && created == other.created && currency == other.currency && descriptor == other.descriptor && events == other.events && family == other.family && financialAccountToken == other.financialAccountToken && pendingAmount == other.pendingAmount && result == other.result && settledAmount == other.settledAmount && status == other.status && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialTransaction && + token == other.token && + category == other.category && + created == other.created && + currency == other.currency && + descriptor == other.descriptor && + events == other.events && + family == other.family && + financialAccountToken == other.financialAccountToken && + pendingAmount == other.pendingAmount && + result == other.result && + settledAmount == other.settledAmount && + status == other.status && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, category, created, currency, descriptor, events, family, financialAccountToken, pendingAmount, result, settledAmount, status, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + category, + created, + currency, + descriptor, + events, + family, + financialAccountToken, + pendingAmount, + result, + settledAmount, + status, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2658,7 +2701,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionCategory && value == other.value /* spotless:on */ + return other is TransactionCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -2817,7 +2860,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -2950,7 +2993,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -3102,7 +3145,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -3357,12 +3400,21 @@ private constructor( return true } - return /* spotless:off */ other is TransactionSeries && relatedTransactionEventToken == other.relatedTransactionEventToken && relatedTransactionToken == other.relatedTransactionToken && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TransactionSeries && + relatedTransactionEventToken == other.relatedTransactionEventToken && + relatedTransactionToken == other.relatedTransactionToken && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(relatedTransactionEventToken, relatedTransactionToken, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + relatedTransactionEventToken, + relatedTransactionToken, + type, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3375,12 +3427,47 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferTransaction && token == other.token && category == other.category && created == other.created && currency == other.currency && events == other.events && family == other.family && fromFinancialAccountToken == other.fromFinancialAccountToken && pendingAmount == other.pendingAmount && result == other.result && settledAmount == other.settledAmount && status == other.status && toFinancialAccountToken == other.toFinancialAccountToken && updated == other.updated && externalId == other.externalId && externalResource == other.externalResource && transactionSeries == other.transactionSeries && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BookTransferTransaction && + token == other.token && + category == other.category && + created == other.created && + currency == other.currency && + events == other.events && + family == other.family && + fromFinancialAccountToken == other.fromFinancialAccountToken && + pendingAmount == other.pendingAmount && + result == other.result && + settledAmount == other.settledAmount && + status == other.status && + toFinancialAccountToken == other.toFinancialAccountToken && + updated == other.updated && + externalId == other.externalId && + externalResource == other.externalResource && + transactionSeries == other.transactionSeries && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, category, created, currency, events, family, fromFinancialAccountToken, pendingAmount, result, settledAmount, status, toFinancialAccountToken, updated, externalId, externalResource, transactionSeries, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + category, + created, + currency, + events, + family, + fromFinancialAccountToken, + pendingAmount, + result, + settledAmount, + status, + toFinancialAccountToken, + updated, + externalId, + externalResource, + transactionSeries, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4929,7 +5016,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -5081,7 +5168,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -5094,12 +5181,67 @@ private constructor( return true } - return /* spotless:off */ other is CardTransaction && token == other.token && accountToken == other.accountToken && acquirerFee == other.acquirerFee && acquirerReferenceNumber == other.acquirerReferenceNumber && amount == other.amount && amounts == other.amounts && authorizationAmount == other.authorizationAmount && authorizationCode == other.authorizationCode && avs == other.avs && cardToken == other.cardToken && cardholderAuthentication == other.cardholderAuthentication && created == other.created && merchant == other.merchant && merchantAmount == other.merchantAmount && merchantAuthorizationAmount == other.merchantAuthorizationAmount && merchantCurrency == other.merchantCurrency && network == other.network && networkRiskScore == other.networkRiskScore && pos == other.pos && result == other.result && settledAmount == other.settledAmount && status == other.status && tokenInfo == other.tokenInfo && updated == other.updated && events == other.events && family == other.family && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardTransaction && + token == other.token && + accountToken == other.accountToken && + acquirerFee == other.acquirerFee && + acquirerReferenceNumber == other.acquirerReferenceNumber && + amount == other.amount && + amounts == other.amounts && + authorizationAmount == other.authorizationAmount && + authorizationCode == other.authorizationCode && + avs == other.avs && + cardToken == other.cardToken && + cardholderAuthentication == other.cardholderAuthentication && + created == other.created && + merchant == other.merchant && + merchantAmount == other.merchantAmount && + merchantAuthorizationAmount == other.merchantAuthorizationAmount && + merchantCurrency == other.merchantCurrency && + network == other.network && + networkRiskScore == other.networkRiskScore && + pos == other.pos && + result == other.result && + settledAmount == other.settledAmount && + status == other.status && + tokenInfo == other.tokenInfo && + updated == other.updated && + events == other.events && + family == other.family && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountToken, acquirerFee, acquirerReferenceNumber, amount, amounts, authorizationAmount, authorizationCode, avs, cardToken, cardholderAuthentication, created, merchant, merchantAmount, merchantAuthorizationAmount, merchantCurrency, network, networkRiskScore, pos, result, settledAmount, status, tokenInfo, updated, events, family, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountToken, + acquirerFee, + acquirerReferenceNumber, + amount, + amounts, + authorizationAmount, + authorizationCode, + avs, + cardToken, + cardholderAuthentication, + created, + merchant, + merchantAmount, + merchantAuthorizationAmount, + merchantCurrency, + network, + networkRiskScore, + pos, + result, + settledAmount, + status, + tokenInfo, + updated, + events, + family, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -6312,7 +6454,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionCategory && value == other.value /* spotless:on */ + return other is TransactionCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -6444,7 +6586,7 @@ private constructor( return true } - return /* spotless:off */ other is Direction && value == other.value /* spotless:on */ + return other is Direction && value == other.value } override fun hashCode() = value.hashCode() @@ -6603,7 +6745,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -6739,7 +6881,7 @@ private constructor( return true } - return /* spotless:off */ other is Method && value == other.value /* spotless:on */ + return other is Method && value == other.value } override fun hashCode() = value.hashCode() @@ -6830,10 +6972,10 @@ private constructor( return true } - return /* spotless:off */ other is MethodAttributes && ach == other.ach && wire == other.wire /* spotless:on */ + return other is MethodAttributes && ach == other.ach && wire == other.wire } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(ach, wire) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(ach, wire) override fun toString(): String = when { @@ -7521,7 +7663,7 @@ private constructor( return true } - return /* spotless:off */ other is SecCode && value == other.value /* spotless:on */ + return other is SecCode && value == other.value } override fun hashCode() = value.hashCode() @@ -7534,13 +7676,30 @@ private constructor( return true } - return /* spotless:off */ other is AchMethodAttributes && secCode == other.secCode && addenda == other.addenda && companyId == other.companyId && receiptRoutingNumber == other.receiptRoutingNumber && retries == other.retries && returnReasonCode == other.returnReasonCode && traceNumbers == other.traceNumbers && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AchMethodAttributes && + secCode == other.secCode && + addenda == other.addenda && + companyId == other.companyId && + receiptRoutingNumber == other.receiptRoutingNumber && + retries == other.retries && + returnReasonCode == other.returnReasonCode && + traceNumbers == other.traceNumbers && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + secCode, + addenda, + companyId, + receiptRoutingNumber, + retries, + returnReasonCode, + traceNumbers, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(secCode, addenda, companyId, receiptRoutingNumber, retries, returnReasonCode, traceNumbers, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -8196,7 +8355,7 @@ private constructor( return true } - return /* spotless:off */ other is WireTransferType && value == other.value /* spotless:on */ + return other is WireTransferType && value == other.value } override fun hashCode() = value.hashCode() @@ -8209,13 +8368,32 @@ private constructor( return true } - return /* spotless:off */ other is WireMethodAttributes && wireTransferType == other.wireTransferType && externalBankName == other.externalBankName && externalBankRoutingNumber == other.externalBankRoutingNumber && externalIndividualName == other.externalIndividualName && lithicBankName == other.lithicBankName && lithicBankRoutingNumber == other.lithicBankRoutingNumber && lithicIndividualName == other.lithicIndividualName && previousTransfer == other.previousTransfer && additionalProperties == other.additionalProperties /* spotless:on */ + return other is WireMethodAttributes && + wireTransferType == other.wireTransferType && + externalBankName == other.externalBankName && + externalBankRoutingNumber == other.externalBankRoutingNumber && + externalIndividualName == other.externalIndividualName && + lithicBankName == other.lithicBankName && + lithicBankRoutingNumber == other.lithicBankRoutingNumber && + lithicIndividualName == other.lithicIndividualName && + previousTransfer == other.previousTransfer && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + wireTransferType, + externalBankName, + externalBankRoutingNumber, + externalIndividualName, + lithicBankName, + lithicBankRoutingNumber, + lithicIndividualName, + previousTransfer, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(wireTransferType, externalBankName, externalBankRoutingNumber, externalIndividualName, lithicBankName, lithicBankRoutingNumber, lithicIndividualName, previousTransfer, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -8438,12 +8616,15 @@ private constructor( return true } - return /* spotless:off */ other is RelatedAccountTokens && accountToken == other.accountToken && businessAccountToken == other.businessAccountToken && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RelatedAccountTokens && + accountToken == other.accountToken && + businessAccountToken == other.businessAccountToken && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accountToken, businessAccountToken, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(accountToken, businessAccountToken, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -8577,7 +8758,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -8713,7 +8894,7 @@ private constructor( return true } - return /* spotless:off */ other is Source && value == other.value /* spotless:on */ + return other is Source && value == other.value } override fun hashCode() = value.hashCode() @@ -8865,7 +9046,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -8878,12 +9059,57 @@ private constructor( return true } - return /* spotless:off */ other is PaymentTransaction && token == other.token && category == other.category && created == other.created && descriptor == other.descriptor && direction == other.direction && events == other.events && family == other.family && financialAccountToken == other.financialAccountToken && method == other.method && methodAttributes == other.methodAttributes && pendingAmount == other.pendingAmount && relatedAccountTokens == other.relatedAccountTokens && result == other.result && settledAmount == other.settledAmount && source == other.source && status == other.status && updated == other.updated && currency == other.currency && expectedReleaseDate == other.expectedReleaseDate && externalBankAccountToken == other.externalBankAccountToken && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is PaymentTransaction && + token == other.token && + category == other.category && + created == other.created && + descriptor == other.descriptor && + direction == other.direction && + events == other.events && + family == other.family && + financialAccountToken == other.financialAccountToken && + method == other.method && + methodAttributes == other.methodAttributes && + pendingAmount == other.pendingAmount && + relatedAccountTokens == other.relatedAccountTokens && + result == other.result && + settledAmount == other.settledAmount && + source == other.source && + status == other.status && + updated == other.updated && + currency == other.currency && + expectedReleaseDate == other.expectedReleaseDate && + externalBankAccountToken == other.externalBankAccountToken && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, category, created, descriptor, direction, events, family, financialAccountToken, method, methodAttributes, pendingAmount, relatedAccountTokens, result, settledAmount, source, status, updated, currency, expectedReleaseDate, externalBankAccountToken, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + category, + created, + descriptor, + direction, + events, + family, + financialAccountToken, + method, + methodAttributes, + pendingAmount, + relatedAccountTokens, + result, + settledAmount, + source, + status, + updated, + currency, + expectedReleaseDate, + externalBankAccountToken, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionParams.kt index 7b26c2a5d..44debb907 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionParams.kt @@ -190,10 +190,14 @@ private constructor( return true } - return /* spotless:off */ other is AccountActivityRetrieveTransactionParams && transactionToken == other.transactionToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountActivityRetrieveTransactionParams && + transactionToken == other.transactionToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(transactionToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(transactionToken, additionalHeaders, additionalQueryParams) override fun toString() = "AccountActivityRetrieveTransactionParams{transactionToken=$transactionToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt index 3aaa5a6f3..906e97465 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt @@ -200,10 +200,24 @@ private constructor( return true } - return /* spotless:off */ other is AccountActivityRetrieveTransactionResponse && financialTransaction == other.financialTransaction && bookTransferTransaction == other.bookTransferTransaction && cardTransaction == other.cardTransaction && paymentTransaction == other.paymentTransaction && externalPayment == other.externalPayment && managementOperationTransaction == other.managementOperationTransaction /* spotless:on */ + return other is AccountActivityRetrieveTransactionResponse && + financialTransaction == other.financialTransaction && + bookTransferTransaction == other.bookTransferTransaction && + cardTransaction == other.cardTransaction && + paymentTransaction == other.paymentTransaction && + externalPayment == other.externalPayment && + managementOperationTransaction == other.managementOperationTransaction } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialTransaction, bookTransferTransaction, cardTransaction, paymentTransaction, externalPayment, managementOperationTransaction) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + financialTransaction, + bookTransferTransaction, + cardTransaction, + paymentTransaction, + externalPayment, + managementOperationTransaction, + ) override fun toString(): String = when { @@ -1240,7 +1254,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionCategory && value == other.value /* spotless:on */ + return other is TransactionCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -1399,7 +1413,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -1533,7 +1547,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -1685,7 +1699,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1698,12 +1712,41 @@ private constructor( return true } - return /* spotless:off */ other is FinancialTransaction && token == other.token && category == other.category && created == other.created && currency == other.currency && descriptor == other.descriptor && events == other.events && family == other.family && financialAccountToken == other.financialAccountToken && pendingAmount == other.pendingAmount && result == other.result && settledAmount == other.settledAmount && status == other.status && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialTransaction && + token == other.token && + category == other.category && + created == other.created && + currency == other.currency && + descriptor == other.descriptor && + events == other.events && + family == other.family && + financialAccountToken == other.financialAccountToken && + pendingAmount == other.pendingAmount && + result == other.result && + settledAmount == other.settledAmount && + status == other.status && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, category, created, currency, descriptor, events, family, financialAccountToken, pendingAmount, result, settledAmount, status, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + category, + created, + currency, + descriptor, + events, + family, + financialAccountToken, + pendingAmount, + result, + settledAmount, + status, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2688,7 +2731,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionCategory && value == other.value /* spotless:on */ + return other is TransactionCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -2847,7 +2890,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -2980,7 +3023,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -3132,7 +3175,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -3387,12 +3430,21 @@ private constructor( return true } - return /* spotless:off */ other is TransactionSeries && relatedTransactionEventToken == other.relatedTransactionEventToken && relatedTransactionToken == other.relatedTransactionToken && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TransactionSeries && + relatedTransactionEventToken == other.relatedTransactionEventToken && + relatedTransactionToken == other.relatedTransactionToken && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(relatedTransactionEventToken, relatedTransactionToken, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + relatedTransactionEventToken, + relatedTransactionToken, + type, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3405,12 +3457,47 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferTransaction && token == other.token && category == other.category && created == other.created && currency == other.currency && events == other.events && family == other.family && fromFinancialAccountToken == other.fromFinancialAccountToken && pendingAmount == other.pendingAmount && result == other.result && settledAmount == other.settledAmount && status == other.status && toFinancialAccountToken == other.toFinancialAccountToken && updated == other.updated && externalId == other.externalId && externalResource == other.externalResource && transactionSeries == other.transactionSeries && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BookTransferTransaction && + token == other.token && + category == other.category && + created == other.created && + currency == other.currency && + events == other.events && + family == other.family && + fromFinancialAccountToken == other.fromFinancialAccountToken && + pendingAmount == other.pendingAmount && + result == other.result && + settledAmount == other.settledAmount && + status == other.status && + toFinancialAccountToken == other.toFinancialAccountToken && + updated == other.updated && + externalId == other.externalId && + externalResource == other.externalResource && + transactionSeries == other.transactionSeries && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, category, created, currency, events, family, fromFinancialAccountToken, pendingAmount, result, settledAmount, status, toFinancialAccountToken, updated, externalId, externalResource, transactionSeries, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + category, + created, + currency, + events, + family, + fromFinancialAccountToken, + pendingAmount, + result, + settledAmount, + status, + toFinancialAccountToken, + updated, + externalId, + externalResource, + transactionSeries, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4959,7 +5046,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -5111,7 +5198,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -5124,12 +5211,67 @@ private constructor( return true } - return /* spotless:off */ other is CardTransaction && token == other.token && accountToken == other.accountToken && acquirerFee == other.acquirerFee && acquirerReferenceNumber == other.acquirerReferenceNumber && amount == other.amount && amounts == other.amounts && authorizationAmount == other.authorizationAmount && authorizationCode == other.authorizationCode && avs == other.avs && cardToken == other.cardToken && cardholderAuthentication == other.cardholderAuthentication && created == other.created && merchant == other.merchant && merchantAmount == other.merchantAmount && merchantAuthorizationAmount == other.merchantAuthorizationAmount && merchantCurrency == other.merchantCurrency && network == other.network && networkRiskScore == other.networkRiskScore && pos == other.pos && result == other.result && settledAmount == other.settledAmount && status == other.status && tokenInfo == other.tokenInfo && updated == other.updated && events == other.events && family == other.family && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardTransaction && + token == other.token && + accountToken == other.accountToken && + acquirerFee == other.acquirerFee && + acquirerReferenceNumber == other.acquirerReferenceNumber && + amount == other.amount && + amounts == other.amounts && + authorizationAmount == other.authorizationAmount && + authorizationCode == other.authorizationCode && + avs == other.avs && + cardToken == other.cardToken && + cardholderAuthentication == other.cardholderAuthentication && + created == other.created && + merchant == other.merchant && + merchantAmount == other.merchantAmount && + merchantAuthorizationAmount == other.merchantAuthorizationAmount && + merchantCurrency == other.merchantCurrency && + network == other.network && + networkRiskScore == other.networkRiskScore && + pos == other.pos && + result == other.result && + settledAmount == other.settledAmount && + status == other.status && + tokenInfo == other.tokenInfo && + updated == other.updated && + events == other.events && + family == other.family && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountToken, acquirerFee, acquirerReferenceNumber, amount, amounts, authorizationAmount, authorizationCode, avs, cardToken, cardholderAuthentication, created, merchant, merchantAmount, merchantAuthorizationAmount, merchantCurrency, network, networkRiskScore, pos, result, settledAmount, status, tokenInfo, updated, events, family, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountToken, + acquirerFee, + acquirerReferenceNumber, + amount, + amounts, + authorizationAmount, + authorizationCode, + avs, + cardToken, + cardholderAuthentication, + created, + merchant, + merchantAmount, + merchantAuthorizationAmount, + merchantCurrency, + network, + networkRiskScore, + pos, + result, + settledAmount, + status, + tokenInfo, + updated, + events, + family, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -6342,7 +6484,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionCategory && value == other.value /* spotless:on */ + return other is TransactionCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -6474,7 +6616,7 @@ private constructor( return true } - return /* spotless:off */ other is Direction && value == other.value /* spotless:on */ + return other is Direction && value == other.value } override fun hashCode() = value.hashCode() @@ -6633,7 +6775,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -6769,7 +6911,7 @@ private constructor( return true } - return /* spotless:off */ other is Method && value == other.value /* spotless:on */ + return other is Method && value == other.value } override fun hashCode() = value.hashCode() @@ -6860,10 +7002,10 @@ private constructor( return true } - return /* spotless:off */ other is MethodAttributes && ach == other.ach && wire == other.wire /* spotless:on */ + return other is MethodAttributes && ach == other.ach && wire == other.wire } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(ach, wire) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(ach, wire) override fun toString(): String = when { @@ -7551,7 +7693,7 @@ private constructor( return true } - return /* spotless:off */ other is SecCode && value == other.value /* spotless:on */ + return other is SecCode && value == other.value } override fun hashCode() = value.hashCode() @@ -7564,13 +7706,30 @@ private constructor( return true } - return /* spotless:off */ other is AchMethodAttributes && secCode == other.secCode && addenda == other.addenda && companyId == other.companyId && receiptRoutingNumber == other.receiptRoutingNumber && retries == other.retries && returnReasonCode == other.returnReasonCode && traceNumbers == other.traceNumbers && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AchMethodAttributes && + secCode == other.secCode && + addenda == other.addenda && + companyId == other.companyId && + receiptRoutingNumber == other.receiptRoutingNumber && + retries == other.retries && + returnReasonCode == other.returnReasonCode && + traceNumbers == other.traceNumbers && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + secCode, + addenda, + companyId, + receiptRoutingNumber, + retries, + returnReasonCode, + traceNumbers, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(secCode, addenda, companyId, receiptRoutingNumber, retries, returnReasonCode, traceNumbers, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -8226,7 +8385,7 @@ private constructor( return true } - return /* spotless:off */ other is WireTransferType && value == other.value /* spotless:on */ + return other is WireTransferType && value == other.value } override fun hashCode() = value.hashCode() @@ -8239,13 +8398,32 @@ private constructor( return true } - return /* spotless:off */ other is WireMethodAttributes && wireTransferType == other.wireTransferType && externalBankName == other.externalBankName && externalBankRoutingNumber == other.externalBankRoutingNumber && externalIndividualName == other.externalIndividualName && lithicBankName == other.lithicBankName && lithicBankRoutingNumber == other.lithicBankRoutingNumber && lithicIndividualName == other.lithicIndividualName && previousTransfer == other.previousTransfer && additionalProperties == other.additionalProperties /* spotless:on */ + return other is WireMethodAttributes && + wireTransferType == other.wireTransferType && + externalBankName == other.externalBankName && + externalBankRoutingNumber == other.externalBankRoutingNumber && + externalIndividualName == other.externalIndividualName && + lithicBankName == other.lithicBankName && + lithicBankRoutingNumber == other.lithicBankRoutingNumber && + lithicIndividualName == other.lithicIndividualName && + previousTransfer == other.previousTransfer && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + wireTransferType, + externalBankName, + externalBankRoutingNumber, + externalIndividualName, + lithicBankName, + lithicBankRoutingNumber, + lithicIndividualName, + previousTransfer, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(wireTransferType, externalBankName, externalBankRoutingNumber, externalIndividualName, lithicBankName, lithicBankRoutingNumber, lithicIndividualName, previousTransfer, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -8468,12 +8646,15 @@ private constructor( return true } - return /* spotless:off */ other is RelatedAccountTokens && accountToken == other.accountToken && businessAccountToken == other.businessAccountToken && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RelatedAccountTokens && + accountToken == other.accountToken && + businessAccountToken == other.businessAccountToken && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accountToken, businessAccountToken, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(accountToken, businessAccountToken, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -8607,7 +8788,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -8743,7 +8924,7 @@ private constructor( return true } - return /* spotless:off */ other is Source && value == other.value /* spotless:on */ + return other is Source && value == other.value } override fun hashCode() = value.hashCode() @@ -8895,7 +9076,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -8908,12 +9089,57 @@ private constructor( return true } - return /* spotless:off */ other is PaymentTransaction && token == other.token && category == other.category && created == other.created && descriptor == other.descriptor && direction == other.direction && events == other.events && family == other.family && financialAccountToken == other.financialAccountToken && method == other.method && methodAttributes == other.methodAttributes && pendingAmount == other.pendingAmount && relatedAccountTokens == other.relatedAccountTokens && result == other.result && settledAmount == other.settledAmount && source == other.source && status == other.status && updated == other.updated && currency == other.currency && expectedReleaseDate == other.expectedReleaseDate && externalBankAccountToken == other.externalBankAccountToken && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is PaymentTransaction && + token == other.token && + category == other.category && + created == other.created && + descriptor == other.descriptor && + direction == other.direction && + events == other.events && + family == other.family && + financialAccountToken == other.financialAccountToken && + method == other.method && + methodAttributes == other.methodAttributes && + pendingAmount == other.pendingAmount && + relatedAccountTokens == other.relatedAccountTokens && + result == other.result && + settledAmount == other.settledAmount && + source == other.source && + status == other.status && + updated == other.updated && + currency == other.currency && + expectedReleaseDate == other.expectedReleaseDate && + externalBankAccountToken == other.externalBankAccountToken && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, category, created, descriptor, direction, events, family, financialAccountToken, method, methodAttributes, pendingAmount, relatedAccountTokens, result, settledAmount, source, status, updated, currency, expectedReleaseDate, externalBankAccountToken, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + category, + created, + descriptor, + direction, + events, + family, + financialAccountToken, + method, + methodAttributes, + pendingAmount, + relatedAccountTokens, + result, + settledAmount, + source, + status, + updated, + currency, + expectedReleaseDate, + externalBankAccountToken, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountFinancialAccountType.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountFinancialAccountType.kt index 6012dbe5e..c69e04f63 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountFinancialAccountType.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountFinancialAccountType.kt @@ -129,7 +129,7 @@ private constructor(private val value: JsonField) : Enum { return true } - return /* spotless:off */ other is AccountFinancialAccountType && value == other.value /* spotless:on */ + return other is AccountFinancialAccountType && value == other.value } override fun hashCode() = value.hashCode() diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt index 0d1264d4c..83b33d195 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt @@ -1532,12 +1532,29 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderBusinessResponse && address == other.address && dbaBusinessName == other.dbaBusinessName && entityToken == other.entityToken && governmentId == other.governmentId && legalBusinessName == other.legalBusinessName && phoneNumbers == other.phoneNumbers && parentCompany == other.parentCompany && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountHolderBusinessResponse && + address == other.address && + dbaBusinessName == other.dbaBusinessName && + entityToken == other.entityToken && + governmentId == other.governmentId && + legalBusinessName == other.legalBusinessName && + phoneNumbers == other.phoneNumbers && + parentCompany == other.parentCompany && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, dbaBusinessName, entityToken, governmentId, legalBusinessName, phoneNumbers, parentCompany, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + dbaBusinessName, + entityToken, + governmentId, + legalBusinessName, + phoneNumbers, + parentCompany, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1931,12 +1948,29 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderIndividualResponse && address == other.address && dob == other.dob && email == other.email && entityToken == other.entityToken && firstName == other.firstName && lastName == other.lastName && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountHolderIndividualResponse && + address == other.address && + dob == other.dob && + email == other.email && + entityToken == other.entityToken && + firstName == other.firstName && + lastName == other.lastName && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, dob, email, entityToken, firstName, lastName, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + dob, + email, + entityToken, + firstName, + lastName, + phoneNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2066,7 +2100,7 @@ private constructor( return true } - return /* spotless:off */ other is ExemptionType && value == other.value /* spotless:on */ + return other is ExemptionType && value == other.value } override fun hashCode() = value.hashCode() @@ -2217,7 +2251,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -2399,7 +2433,7 @@ private constructor( return true } - return /* spotless:off */ other is StatusReason && value == other.value /* spotless:on */ + return other is StatusReason && value == other.value } override fun hashCode() = value.hashCode() @@ -2530,7 +2564,7 @@ private constructor( return true } - return /* spotless:off */ other is UserType && value == other.value /* spotless:on */ + return other is UserType && value == other.value } override fun hashCode() = value.hashCode() @@ -2954,7 +2988,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -3139,7 +3173,7 @@ private constructor( return true } - return /* spotless:off */ other is StatusReason && value == other.value /* spotless:on */ + return other is StatusReason && value == other.value } override fun hashCode() = value.hashCode() @@ -3152,12 +3186,17 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderVerificationApplication && created == other.created && status == other.status && statusReasons == other.statusReasons && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountHolderVerificationApplication && + created == other.created && + status == other.status && + statusReasons == other.statusReasons && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(created, status, statusReasons, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(created, status, statusReasons, updated, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3170,12 +3209,55 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolder && token == other.token && created == other.created && accountToken == other.accountToken && beneficialOwnerEntities == other.beneficialOwnerEntities && beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && businessAccountToken == other.businessAccountToken && businessEntity == other.businessEntity && controlPerson == other.controlPerson && email == other.email && exemptionType == other.exemptionType && externalId == other.externalId && individual == other.individual && natureOfBusiness == other.natureOfBusiness && phoneNumber == other.phoneNumber && requiredDocuments == other.requiredDocuments && status == other.status && statusReasons == other.statusReasons && userType == other.userType && verificationApplication == other.verificationApplication && websiteUrl == other.websiteUrl && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountHolder && + token == other.token && + created == other.created && + accountToken == other.accountToken && + beneficialOwnerEntities == other.beneficialOwnerEntities && + beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && + businessAccountToken == other.businessAccountToken && + businessEntity == other.businessEntity && + controlPerson == other.controlPerson && + email == other.email && + exemptionType == other.exemptionType && + externalId == other.externalId && + individual == other.individual && + natureOfBusiness == other.natureOfBusiness && + phoneNumber == other.phoneNumber && + requiredDocuments == other.requiredDocuments && + status == other.status && + statusReasons == other.statusReasons && + userType == other.userType && + verificationApplication == other.verificationApplication && + websiteUrl == other.websiteUrl && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, created, accountToken, beneficialOwnerEntities, beneficialOwnerIndividuals, businessAccountToken, businessEntity, controlPerson, email, exemptionType, externalId, individual, natureOfBusiness, phoneNumber, requiredDocuments, status, statusReasons, userType, verificationApplication, websiteUrl, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + created, + accountToken, + beneficialOwnerEntities, + beneficialOwnerIndividuals, + businessAccountToken, + businessEntity, + controlPerson, + email, + exemptionType, + externalId, + individual, + natureOfBusiness, + phoneNumber, + requiredDocuments, + status, + statusReasons, + userType, + verificationApplication, + websiteUrl, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateParams.kt index 3a87546ab..5105a243e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateParams.kt @@ -306,10 +306,13 @@ private constructor( return true } - return /* spotless:off */ other is Body && kyb == other.kyb && kyc == other.kyc && kycExempt == other.kycExempt /* spotless:on */ + return other is Body && + kyb == other.kyb && + kyc == other.kyc && + kycExempt == other.kycExempt } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(kyb, kyc, kycExempt) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(kyb, kyc, kycExempt) override fun toString(): String = when { @@ -408,10 +411,13 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderCreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountHolderCreateParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "AccountHolderCreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateResponse.kt index a1d90fd15..d508e6a66 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderCreateResponse.kt @@ -587,7 +587,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -898,7 +898,7 @@ private constructor( return true } - return /* spotless:off */ other is StatusReasons && value == other.value /* spotless:on */ + return other is StatusReasons && value == other.value } override fun hashCode() = value.hashCode() @@ -911,12 +911,29 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderCreateResponse && token == other.token && accountToken == other.accountToken && status == other.status && statusReasons == other.statusReasons && created == other.created && externalId == other.externalId && requiredDocuments == other.requiredDocuments && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountHolderCreateResponse && + token == other.token && + accountToken == other.accountToken && + status == other.status && + statusReasons == other.statusReasons && + created == other.created && + externalId == other.externalId && + requiredDocuments == other.requiredDocuments && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountToken, status, statusReasons, created, externalId, requiredDocuments, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountToken, + status, + statusReasons, + created, + externalId, + requiredDocuments, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsParams.kt index 0cb763afc..8c4f1ffa4 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsParams.kt @@ -204,10 +204,14 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderListDocumentsParams && accountHolderToken == other.accountHolderToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountHolderListDocumentsParams && + accountHolderToken == other.accountHolderToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountHolderToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountHolderToken, additionalHeaders, additionalQueryParams) override fun toString() = "AccountHolderListDocumentsParams{accountHolderToken=$accountHolderToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsResponse.kt index 173de51d0..1555eef7a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListDocumentsResponse.kt @@ -166,12 +166,12 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderListDocumentsResponse && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountHolderListDocumentsResponse && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPage.kt index f4cbfc2bf..ae0a6f048 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPage.kt @@ -116,10 +116,13 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is AccountHolderListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "AccountHolderListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageAsync.kt index 3b71d863a..c5d2a6724 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageAsync.kt @@ -130,10 +130,14 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is AccountHolderListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "AccountHolderListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageResponse.kt index 1548bf7bf..12a86f19d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListPageResponse.kt @@ -213,12 +213,13 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountHolderListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListParams.kt index fb928b8ee..f8d08d3bf 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderListParams.kt @@ -379,10 +379,38 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderListParams && begin == other.begin && email == other.email && end == other.end && endingBefore == other.endingBefore && externalId == other.externalId && firstName == other.firstName && lastName == other.lastName && legalBusinessName == other.legalBusinessName && limit == other.limit && phoneNumber == other.phoneNumber && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountHolderListParams && + begin == other.begin && + email == other.email && + end == other.end && + endingBefore == other.endingBefore && + externalId == other.externalId && + firstName == other.firstName && + lastName == other.lastName && + legalBusinessName == other.legalBusinessName && + limit == other.limit && + phoneNumber == other.phoneNumber && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(begin, email, end, endingBefore, externalId, firstName, lastName, legalBusinessName, limit, phoneNumber, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + begin, + email, + end, + endingBefore, + externalId, + firstName, + lastName, + legalBusinessName, + limit, + phoneNumber, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "AccountHolderListParams{begin=$begin, email=$email, end=$end, endingBefore=$endingBefore, externalId=$externalId, firstName=$firstName, lastName=$lastName, legalBusinessName=$legalBusinessName, limit=$limit, phoneNumber=$phoneNumber, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderRetrieveDocumentParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderRetrieveDocumentParams.kt index b6e9dcbc1..cb3f673c5 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderRetrieveDocumentParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderRetrieveDocumentParams.kt @@ -223,10 +223,15 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderRetrieveDocumentParams && accountHolderToken == other.accountHolderToken && documentToken == other.documentToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountHolderRetrieveDocumentParams && + accountHolderToken == other.accountHolderToken && + documentToken == other.documentToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountHolderToken, documentToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountHolderToken, documentToken, additionalHeaders, additionalQueryParams) override fun toString() = "AccountHolderRetrieveDocumentParams{accountHolderToken=$accountHolderToken, documentToken=$documentToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderRetrieveParams.kt index b9892183a..19c7818a8 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderRetrieveParams.kt @@ -187,10 +187,14 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderRetrieveParams && accountHolderToken == other.accountHolderToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountHolderRetrieveParams && + accountHolderToken == other.accountHolderToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountHolderToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountHolderToken, additionalHeaders, additionalQueryParams) override fun toString() = "AccountHolderRetrieveParams{accountHolderToken=$accountHolderToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentDocumentReviewParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentDocumentReviewParams.kt index 3ccb5ac6b..722156d82 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentDocumentReviewParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentDocumentReviewParams.kt @@ -680,12 +680,23 @@ private constructor( return true } - return /* spotless:off */ other is SimulateEnrollmentDocumentReviewRequest && documentUploadToken == other.documentUploadToken && status == other.status && acceptedEntityStatusReasons == other.acceptedEntityStatusReasons && statusReason == other.statusReason && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SimulateEnrollmentDocumentReviewRequest && + documentUploadToken == other.documentUploadToken && + status == other.status && + acceptedEntityStatusReasons == other.acceptedEntityStatusReasons && + statusReason == other.statusReason && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(documentUploadToken, status, acceptedEntityStatusReasons, statusReason, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + documentUploadToken, + status, + acceptedEntityStatusReasons, + statusReason, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -823,7 +834,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -1015,7 +1026,7 @@ private constructor( return true } - return /* spotless:off */ other is DocumentUploadStatusReasons && value == other.value /* spotless:on */ + return other is DocumentUploadStatusReasons && value == other.value } override fun hashCode() = value.hashCode() @@ -1028,10 +1039,13 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderSimulateEnrollmentDocumentReviewParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountHolderSimulateEnrollmentDocumentReviewParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "AccountHolderSimulateEnrollmentDocumentReviewParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewParams.kt index e51440e8c..f9045d1cb 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewParams.kt @@ -563,12 +563,16 @@ private constructor( return true } - return /* spotless:off */ other is SimulateEnrollmentReviewRequest && accountHolderToken == other.accountHolderToken && status == other.status && statusReasons == other.statusReasons && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SimulateEnrollmentReviewRequest && + accountHolderToken == other.accountHolderToken && + status == other.status && + statusReasons == other.statusReasons && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accountHolderToken, status, statusReasons, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(accountHolderToken, status, statusReasons, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -694,7 +698,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -977,7 +981,7 @@ private constructor( return true } - return /* spotless:off */ other is StatusReason && value == other.value /* spotless:on */ + return other is StatusReason && value == other.value } override fun hashCode() = value.hashCode() @@ -990,10 +994,13 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderSimulateEnrollmentReviewParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountHolderSimulateEnrollmentReviewParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "AccountHolderSimulateEnrollmentReviewParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt index a7abd233d..bf2181102 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt @@ -1818,12 +1818,27 @@ private constructor( return true } - return /* spotless:off */ other is Address && address1 == other.address1 && city == other.city && country == other.country && postalCode == other.postalCode && state == other.state && address2 == other.address2 && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Address && + address1 == other.address1 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + state == other.state && + address2 == other.address2 && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address1, + city, + country, + postalCode, + state, + address2, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1836,12 +1851,29 @@ private constructor( return true } - return /* spotless:off */ other is Individual && address == other.address && dob == other.dob && email == other.email && firstName == other.firstName && governmentId == other.governmentId && lastName == other.lastName && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Individual && + address == other.address && + dob == other.dob && + email == other.email && + firstName == other.firstName && + governmentId == other.governmentId && + lastName == other.lastName && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, dob, email, firstName, governmentId, lastName, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + dob, + email, + firstName, + governmentId, + lastName, + phoneNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1974,7 +2006,7 @@ private constructor( return true } - return /* spotless:off */ other is ExemptionType && value == other.value /* spotless:on */ + return other is ExemptionType && value == other.value } override fun hashCode() = value.hashCode() @@ -2117,7 +2149,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -2428,7 +2460,7 @@ private constructor( return true } - return /* spotless:off */ other is StatusReasons && value == other.value /* spotless:on */ + return other is StatusReasons && value == other.value } override fun hashCode() = value.hashCode() @@ -2561,7 +2593,7 @@ private constructor( return true } - return /* spotless:off */ other is UserType && value == other.value /* spotless:on */ + return other is UserType && value == other.value } override fun hashCode() = value.hashCode() @@ -2991,7 +3023,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -3307,7 +3339,7 @@ private constructor( return true } - return /* spotless:off */ other is StatusReasons && value == other.value /* spotless:on */ + return other is StatusReasons && value == other.value } override fun hashCode() = value.hashCode() @@ -3320,12 +3352,17 @@ private constructor( return true } - return /* spotless:off */ other is VerificationApplication && created == other.created && status == other.status && statusReasons == other.statusReasons && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is VerificationApplication && + created == other.created && + status == other.status && + statusReasons == other.statusReasons && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(created, status, statusReasons, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(created, status, statusReasons, updated, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3338,12 +3375,55 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderSimulateEnrollmentReviewResponse && token == other.token && accountToken == other.accountToken && beneficialOwnerEntities == other.beneficialOwnerEntities && beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && businessAccountToken == other.businessAccountToken && businessEntity == other.businessEntity && controlPerson == other.controlPerson && created == other.created && email == other.email && exemptionType == other.exemptionType && externalId == other.externalId && individual == other.individual && natureOfBusiness == other.natureOfBusiness && phoneNumber == other.phoneNumber && requiredDocuments == other.requiredDocuments && status == other.status && statusReasons == other.statusReasons && userType == other.userType && verificationApplication == other.verificationApplication && websiteUrl == other.websiteUrl && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountHolderSimulateEnrollmentReviewResponse && + token == other.token && + accountToken == other.accountToken && + beneficialOwnerEntities == other.beneficialOwnerEntities && + beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && + businessAccountToken == other.businessAccountToken && + businessEntity == other.businessEntity && + controlPerson == other.controlPerson && + created == other.created && + email == other.email && + exemptionType == other.exemptionType && + externalId == other.externalId && + individual == other.individual && + natureOfBusiness == other.natureOfBusiness && + phoneNumber == other.phoneNumber && + requiredDocuments == other.requiredDocuments && + status == other.status && + statusReasons == other.statusReasons && + userType == other.userType && + verificationApplication == other.verificationApplication && + websiteUrl == other.websiteUrl && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountToken, beneficialOwnerEntities, beneficialOwnerIndividuals, businessAccountToken, businessEntity, controlPerson, created, email, exemptionType, externalId, individual, natureOfBusiness, phoneNumber, requiredDocuments, status, statusReasons, userType, verificationApplication, websiteUrl, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountToken, + beneficialOwnerEntities, + beneficialOwnerIndividuals, + businessAccountToken, + businessEntity, + controlPerson, + created, + email, + exemptionType, + externalId, + individual, + natureOfBusiness, + phoneNumber, + requiredDocuments, + status, + statusReasons, + userType, + verificationApplication, + websiteUrl, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateParams.kt index 2fb1c9737..d6bd70dc9 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateParams.kt @@ -354,10 +354,13 @@ private constructor( return true } - return /* spotless:off */ other is Body && kybPatchRequest == other.kybPatchRequest && kycPatchRequest == other.kycPatchRequest && patchRequest == other.patchRequest /* spotless:on */ + return other is Body && + kybPatchRequest == other.kybPatchRequest && + kycPatchRequest == other.kycPatchRequest && + patchRequest == other.patchRequest } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(kybPatchRequest, kycPatchRequest, patchRequest) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(kybPatchRequest, kycPatchRequest, patchRequest) override fun toString(): String = when { @@ -1404,12 +1407,29 @@ private constructor( return true } - return /* spotless:off */ other is KybBusinessEntityPatch && entityToken == other.entityToken && address == other.address && dbaBusinessName == other.dbaBusinessName && governmentId == other.governmentId && legalBusinessName == other.legalBusinessName && parentCompany == other.parentCompany && phoneNumbers == other.phoneNumbers && additionalProperties == other.additionalProperties /* spotless:on */ + return other is KybBusinessEntityPatch && + entityToken == other.entityToken && + address == other.address && + dbaBusinessName == other.dbaBusinessName && + governmentId == other.governmentId && + legalBusinessName == other.legalBusinessName && + parentCompany == other.parentCompany && + phoneNumbers == other.phoneNumbers && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(entityToken, address, dbaBusinessName, governmentId, legalBusinessName, parentCompany, phoneNumbers, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + entityToken, + address, + dbaBusinessName, + governmentId, + legalBusinessName, + parentCompany, + phoneNumbers, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1885,12 +1905,31 @@ private constructor( return true } - return /* spotless:off */ other is IndividualPatch && entityToken == other.entityToken && address == other.address && dob == other.dob && email == other.email && firstName == other.firstName && governmentId == other.governmentId && lastName == other.lastName && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is IndividualPatch && + entityToken == other.entityToken && + address == other.address && + dob == other.dob && + email == other.email && + firstName == other.firstName && + governmentId == other.governmentId && + lastName == other.lastName && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(entityToken, address, dob, email, firstName, governmentId, lastName, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + entityToken, + address, + dob, + email, + firstName, + governmentId, + lastName, + phoneNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1903,12 +1942,29 @@ private constructor( return true } - return /* spotless:off */ other is KybPatchRequest && beneficialOwnerEntities == other.beneficialOwnerEntities && beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && businessEntity == other.businessEntity && controlPerson == other.controlPerson && externalId == other.externalId && natureOfBusiness == other.natureOfBusiness && websiteUrl == other.websiteUrl && additionalProperties == other.additionalProperties /* spotless:on */ + return other is KybPatchRequest && + beneficialOwnerEntities == other.beneficialOwnerEntities && + beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && + businessEntity == other.businessEntity && + controlPerson == other.controlPerson && + externalId == other.externalId && + natureOfBusiness == other.natureOfBusiness && + websiteUrl == other.websiteUrl && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(beneficialOwnerEntities, beneficialOwnerIndividuals, businessEntity, controlPerson, externalId, natureOfBusiness, websiteUrl, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + beneficialOwnerEntities, + beneficialOwnerIndividuals, + businessEntity, + controlPerson, + externalId, + natureOfBusiness, + websiteUrl, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2570,12 +2626,31 @@ private constructor( return true } - return /* spotless:off */ other is IndividualPatch && entityToken == other.entityToken && address == other.address && dob == other.dob && email == other.email && firstName == other.firstName && governmentId == other.governmentId && lastName == other.lastName && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is IndividualPatch && + entityToken == other.entityToken && + address == other.address && + dob == other.dob && + email == other.email && + firstName == other.firstName && + governmentId == other.governmentId && + lastName == other.lastName && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(entityToken, address, dob, email, firstName, governmentId, lastName, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + entityToken, + address, + dob, + email, + firstName, + governmentId, + lastName, + phoneNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2588,12 +2663,15 @@ private constructor( return true } - return /* spotless:off */ other is KycPatchRequest && externalId == other.externalId && individual == other.individual && additionalProperties == other.additionalProperties /* spotless:on */ + return other is KycPatchRequest && + externalId == other.externalId && + individual == other.individual && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(externalId, individual, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(externalId, individual, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3004,12 +3082,29 @@ private constructor( return true } - return /* spotless:off */ other is PatchRequest && address == other.address && businessAccountToken == other.businessAccountToken && email == other.email && firstName == other.firstName && lastName == other.lastName && legalBusinessName == other.legalBusinessName && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is PatchRequest && + address == other.address && + businessAccountToken == other.businessAccountToken && + email == other.email && + firstName == other.firstName && + lastName == other.lastName && + legalBusinessName == other.legalBusinessName && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, businessAccountToken, email, firstName, lastName, legalBusinessName, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + businessAccountToken, + email, + firstName, + lastName, + legalBusinessName, + phoneNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3023,10 +3118,15 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderUpdateParams && accountHolderToken == other.accountHolderToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountHolderUpdateParams && + accountHolderToken == other.accountHolderToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountHolderToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountHolderToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "AccountHolderUpdateParams{accountHolderToken=$accountHolderToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt index 7550c70b4..8295dd792 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt @@ -114,10 +114,12 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderUpdateResponse && kybKycPatch == other.kybKycPatch && patch == other.patch /* spotless:on */ + return other is AccountHolderUpdateResponse && + kybKycPatch == other.kybKycPatch && + patch == other.patch } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(kybKycPatch, patch) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(kybKycPatch, patch) override fun toString(): String = when { @@ -2041,12 +2043,27 @@ private constructor( return true } - return /* spotless:off */ other is Address && address1 == other.address1 && city == other.city && country == other.country && postalCode == other.postalCode && state == other.state && address2 == other.address2 && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Address && + address1 == other.address1 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + state == other.state && + address2 == other.address2 && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address1, + city, + country, + postalCode, + state, + address2, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2059,12 +2076,29 @@ private constructor( return true } - return /* spotless:off */ other is Individual && address == other.address && dob == other.dob && email == other.email && firstName == other.firstName && governmentId == other.governmentId && lastName == other.lastName && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Individual && + address == other.address && + dob == other.dob && + email == other.email && + firstName == other.firstName && + governmentId == other.governmentId && + lastName == other.lastName && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, dob, email, firstName, governmentId, lastName, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + dob, + email, + firstName, + governmentId, + lastName, + phoneNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2199,7 +2233,7 @@ private constructor( return true } - return /* spotless:off */ other is ExemptionType && value == other.value /* spotless:on */ + return other is ExemptionType && value == other.value } override fun hashCode() = value.hashCode() @@ -2346,7 +2380,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -2662,7 +2696,7 @@ private constructor( return true } - return /* spotless:off */ other is StatusReasons && value == other.value /* spotless:on */ + return other is StatusReasons && value == other.value } override fun hashCode() = value.hashCode() @@ -2800,7 +2834,7 @@ private constructor( return true } - return /* spotless:off */ other is UserType && value == other.value /* spotless:on */ + return other is UserType && value == other.value } override fun hashCode() = value.hashCode() @@ -3247,7 +3281,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -3566,7 +3600,7 @@ private constructor( return true } - return /* spotless:off */ other is StatusReasons && value == other.value /* spotless:on */ + return other is StatusReasons && value == other.value } override fun hashCode() = value.hashCode() @@ -3579,12 +3613,17 @@ private constructor( return true } - return /* spotless:off */ other is VerificationApplication && created == other.created && status == other.status && statusReasons == other.statusReasons && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is VerificationApplication && + created == other.created && + status == other.status && + statusReasons == other.statusReasons && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(created, status, statusReasons, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(created, status, statusReasons, updated, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3597,12 +3636,55 @@ private constructor( return true } - return /* spotless:off */ other is KybKycPatchResponse && token == other.token && accountToken == other.accountToken && beneficialOwnerEntities == other.beneficialOwnerEntities && beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && businessAccountToken == other.businessAccountToken && businessEntity == other.businessEntity && controlPerson == other.controlPerson && created == other.created && email == other.email && exemptionType == other.exemptionType && externalId == other.externalId && individual == other.individual && natureOfBusiness == other.natureOfBusiness && phoneNumber == other.phoneNumber && requiredDocuments == other.requiredDocuments && status == other.status && statusReasons == other.statusReasons && userType == other.userType && verificationApplication == other.verificationApplication && websiteUrl == other.websiteUrl && additionalProperties == other.additionalProperties /* spotless:on */ + return other is KybKycPatchResponse && + token == other.token && + accountToken == other.accountToken && + beneficialOwnerEntities == other.beneficialOwnerEntities && + beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && + businessAccountToken == other.businessAccountToken && + businessEntity == other.businessEntity && + controlPerson == other.controlPerson && + created == other.created && + email == other.email && + exemptionType == other.exemptionType && + externalId == other.externalId && + individual == other.individual && + natureOfBusiness == other.natureOfBusiness && + phoneNumber == other.phoneNumber && + requiredDocuments == other.requiredDocuments && + status == other.status && + statusReasons == other.statusReasons && + userType == other.userType && + verificationApplication == other.verificationApplication && + websiteUrl == other.websiteUrl && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountToken, beneficialOwnerEntities, beneficialOwnerIndividuals, businessAccountToken, businessEntity, controlPerson, created, email, exemptionType, externalId, individual, natureOfBusiness, phoneNumber, requiredDocuments, status, statusReasons, userType, verificationApplication, websiteUrl, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountToken, + beneficialOwnerEntities, + beneficialOwnerIndividuals, + businessAccountToken, + businessEntity, + controlPerson, + created, + email, + exemptionType, + externalId, + individual, + natureOfBusiness, + phoneNumber, + requiredDocuments, + status, + statusReasons, + userType, + verificationApplication, + websiteUrl, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4375,12 +4457,27 @@ private constructor( return true } - return /* spotless:off */ other is Address && address1 == other.address1 && city == other.city && country == other.country && postalCode == other.postalCode && state == other.state && address2 == other.address2 && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Address && + address1 == other.address1 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + state == other.state && + address2 == other.address2 && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address1, + city, + country, + postalCode, + state, + address2, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4393,12 +4490,31 @@ private constructor( return true } - return /* spotless:off */ other is PatchResponse && token == other.token && address == other.address && businessAccountToken == other.businessAccountToken && email == other.email && firstName == other.firstName && lastName == other.lastName && legalBusinessName == other.legalBusinessName && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is PatchResponse && + token == other.token && + address == other.address && + businessAccountToken == other.businessAccountToken && + email == other.email && + firstName == other.firstName && + lastName == other.lastName && + legalBusinessName == other.legalBusinessName && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, address, businessAccountToken, email, firstName, lastName, legalBusinessName, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + address, + businessAccountToken, + email, + firstName, + lastName, + legalBusinessName, + phoneNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUploadDocumentParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUploadDocumentParams.kt index 3a39cd6da..88eab8200 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUploadDocumentParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUploadDocumentParams.kt @@ -515,12 +515,15 @@ private constructor( return true } - return /* spotless:off */ other is Body && documentType == other.documentType && entityToken == other.entityToken && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + documentType == other.documentType && + entityToken == other.entityToken && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(documentType, entityToken, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(documentType, entityToken, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -751,7 +754,7 @@ private constructor( return true } - return /* spotless:off */ other is DocumentType && value == other.value /* spotless:on */ + return other is DocumentType && value == other.value } override fun hashCode() = value.hashCode() @@ -764,10 +767,15 @@ private constructor( return true } - return /* spotless:off */ other is AccountHolderUploadDocumentParams && accountHolderToken == other.accountHolderToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountHolderUploadDocumentParams && + accountHolderToken == other.accountHolderToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountHolderToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountHolderToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "AccountHolderUploadDocumentParams{accountHolderToken=$accountHolderToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPage.kt index bfb4e05e5..0ce37f7bb 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPage.kt @@ -119,10 +119,13 @@ private constructor( return true } - return /* spotless:off */ other is AccountListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is AccountListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "AccountListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageAsync.kt index 99b219556..f161552b1 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageAsync.kt @@ -132,10 +132,14 @@ private constructor( return true } - return /* spotless:off */ other is AccountListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is AccountListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "AccountListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageResponse.kt index 1fe949769..2974a5ceb 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListPageResponse.kt @@ -210,12 +210,13 @@ private constructor( return true } - return /* spotless:off */ other is AccountListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListParams.kt index c87c0ad7b..e44fde058 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountListParams.kt @@ -272,10 +272,26 @@ private constructor( return true } - return /* spotless:off */ other is AccountListParams && begin == other.begin && end == other.end && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountListParams && + begin == other.begin && + end == other.end && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(begin, end, endingBefore, pageSize, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + begin, + end, + endingBefore, + pageSize, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "AccountListParams{begin=$begin, end=$end, endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountRetrieveParams.kt index 132d9a865..a5bab4bf5 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountRetrieveParams.kt @@ -180,10 +180,14 @@ private constructor( return true } - return /* spotless:off */ other is AccountRetrieveParams && accountToken == other.accountToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountRetrieveParams && + accountToken == other.accountToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountToken, additionalHeaders, additionalQueryParams) override fun toString() = "AccountRetrieveParams{accountToken=$accountToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountRetrieveSpendLimitsParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountRetrieveSpendLimitsParams.kt index a499d0610..a22ac326a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountRetrieveSpendLimitsParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountRetrieveSpendLimitsParams.kt @@ -190,10 +190,14 @@ private constructor( return true } - return /* spotless:off */ other is AccountRetrieveSpendLimitsParams && accountToken == other.accountToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountRetrieveSpendLimitsParams && + accountToken == other.accountToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountToken, additionalHeaders, additionalQueryParams) override fun toString() = "AccountRetrieveSpendLimitsParams{accountToken=$accountToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountSpendLimits.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountSpendLimits.kt index de96c5797..ed47e6107 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountSpendLimits.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountSpendLimits.kt @@ -444,12 +444,16 @@ private constructor( return true } - return /* spotless:off */ other is AvailableSpendLimit && daily == other.daily && lifetime == other.lifetime && monthly == other.monthly && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AvailableSpendLimit && + daily == other.daily && + lifetime == other.lifetime && + monthly == other.monthly && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(daily, lifetime, monthly, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(daily, lifetime, monthly, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -653,12 +657,16 @@ private constructor( return true } - return /* spotless:off */ other is SpendLimit && daily == other.daily && lifetime == other.lifetime && monthly == other.monthly && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SpendLimit && + daily == other.daily && + lifetime == other.lifetime && + monthly == other.monthly && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(daily, lifetime, monthly, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(daily, lifetime, monthly, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -874,12 +882,16 @@ private constructor( return true } - return /* spotless:off */ other is SpendVelocity && daily == other.daily && lifetime == other.lifetime && monthly == other.monthly && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SpendVelocity && + daily == other.daily && + lifetime == other.lifetime && + monthly == other.monthly && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(daily, lifetime, monthly, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(daily, lifetime, monthly, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -892,12 +904,16 @@ private constructor( return true } - return /* spotless:off */ other is AccountSpendLimits && availableSpendLimit == other.availableSpendLimit && spendLimit == other.spendLimit && spendVelocity == other.spendVelocity && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountSpendLimits && + availableSpendLimit == other.availableSpendLimit && + spendLimit == other.spendLimit && + spendVelocity == other.spendVelocity && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(availableSpendLimit, spendLimit, spendVelocity, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(availableSpendLimit, spendLimit, spendVelocity, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountUpdateParams.kt index ed19164d4..0bb67da34 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountUpdateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountUpdateParams.kt @@ -979,12 +979,29 @@ private constructor( return true } - return /* spotless:off */ other is Body && comment == other.comment && dailySpendLimit == other.dailySpendLimit && lifetimeSpendLimit == other.lifetimeSpendLimit && monthlySpendLimit == other.monthlySpendLimit && state == other.state && substatus == other.substatus && verificationAddress == other.verificationAddress && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + comment == other.comment && + dailySpendLimit == other.dailySpendLimit && + lifetimeSpendLimit == other.lifetimeSpendLimit && + monthlySpendLimit == other.monthlySpendLimit && + state == other.state && + substatus == other.substatus && + verificationAddress == other.verificationAddress && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(comment, dailySpendLimit, lifetimeSpendLimit, monthlySpendLimit, state, substatus, verificationAddress, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + comment, + dailySpendLimit, + lifetimeSpendLimit, + monthlySpendLimit, + state, + substatus, + verificationAddress, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1116,7 +1133,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1305,7 +1322,7 @@ private constructor( return true } - return /* spotless:off */ other is Substatus && value == other.value /* spotless:on */ + return other is Substatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1612,12 +1629,19 @@ private constructor( return true } - return /* spotless:off */ other is VerificationAddress && address1 == other.address1 && address2 == other.address2 && city == other.city && country == other.country && postalCode == other.postalCode && state == other.state && additionalProperties == other.additionalProperties /* spotless:on */ + return other is VerificationAddress && + address1 == other.address1 && + address2 == other.address2 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + state == other.state && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, address2, city, country, postalCode, state, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(address1, address2, city, country, postalCode, state, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1630,10 +1654,15 @@ private constructor( return true } - return /* spotless:off */ other is AccountUpdateParams && accountToken == other.accountToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AccountUpdateParams && + accountToken == other.accountToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "AccountUpdateParams{accountToken=$accountToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Address.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Address.kt index 9bfeddff2..41be46188 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Address.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Address.kt @@ -351,12 +351,19 @@ private constructor( return true } - return /* spotless:off */ other is Address && address1 == other.address1 && city == other.city && country == other.country && postalCode == other.postalCode && state == other.state && address2 == other.address2 && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Address && + address1 == other.address1 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + state == other.state && + address2 == other.address2 && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AddressUpdate.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AddressUpdate.kt index 545944579..d1d5bf17f 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AddressUpdate.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AddressUpdate.kt @@ -326,12 +326,19 @@ private constructor( return true } - return /* spotless:off */ other is AddressUpdate && address1 == other.address1 && address2 == other.address2 && city == other.city && country == other.country && postalCode == other.postalCode && state == other.state && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AddressUpdate && + address1 == other.address1 && + address2 == other.address2 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + state == other.state && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, address2, city, country, postalCode, state, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(address1, address2, city, country, postalCode, state, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalance.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalance.kt index f3438ffc2..92e8aefde 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalance.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalance.kt @@ -696,7 +696,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountType && value == other.value /* spotless:on */ + return other is FinancialAccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -709,12 +709,35 @@ private constructor( return true } - return /* spotless:off */ other is AggregateBalance && availableAmount == other.availableAmount && created == other.created && currency == other.currency && financialAccountType == other.financialAccountType && lastFinancialAccountToken == other.lastFinancialAccountToken && lastTransactionEventToken == other.lastTransactionEventToken && lastTransactionToken == other.lastTransactionToken && pendingAmount == other.pendingAmount && totalAmount == other.totalAmount && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AggregateBalance && + availableAmount == other.availableAmount && + created == other.created && + currency == other.currency && + financialAccountType == other.financialAccountType && + lastFinancialAccountToken == other.lastFinancialAccountToken && + lastTransactionEventToken == other.lastTransactionEventToken && + lastTransactionToken == other.lastTransactionToken && + pendingAmount == other.pendingAmount && + totalAmount == other.totalAmount && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(availableAmount, created, currency, financialAccountType, lastFinancialAccountToken, lastTransactionEventToken, lastTransactionToken, pendingAmount, totalAmount, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + availableAmount, + created, + currency, + financialAccountType, + lastFinancialAccountToken, + lastTransactionEventToken, + lastTransactionToken, + pendingAmount, + totalAmount, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPage.kt index 27282c569..a51b20a72 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPage.kt @@ -118,10 +118,13 @@ private constructor( return true } - return /* spotless:off */ other is AggregateBalanceListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is AggregateBalanceListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "AggregateBalanceListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageAsync.kt index 2973ef682..ab18fd5fc 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageAsync.kt @@ -133,10 +133,14 @@ private constructor( return true } - return /* spotless:off */ other is AggregateBalanceListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is AggregateBalanceListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "AggregateBalanceListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageResponse.kt index 62b214205..02ea187e2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListPageResponse.kt @@ -215,12 +215,13 @@ private constructor( return true } - return /* spotless:off */ other is AggregateBalanceListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AggregateBalanceListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListParams.kt index 4d1fa4163..d477113b3 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListParams.kt @@ -326,7 +326,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountType && value == other.value /* spotless:on */ + return other is FinancialAccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -339,10 +339,14 @@ private constructor( return true } - return /* spotless:off */ other is AggregateBalanceListParams && financialAccountType == other.financialAccountType && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AggregateBalanceListParams && + financialAccountType == other.financialAccountType && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountType, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(financialAccountType, additionalHeaders, additionalQueryParams) override fun toString() = "AggregateBalanceListParams{financialAccountType=$financialAccountType, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListResponse.kt index 2654dcba8..e5cdc8d0e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AggregateBalanceListResponse.kt @@ -510,12 +510,33 @@ private constructor( return true } - return /* spotless:off */ other is AggregateBalanceListResponse && availableAmount == other.availableAmount && created == other.created && currency == other.currency && lastCardToken == other.lastCardToken && lastTransactionEventToken == other.lastTransactionEventToken && lastTransactionToken == other.lastTransactionToken && pendingAmount == other.pendingAmount && totalAmount == other.totalAmount && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AggregateBalanceListResponse && + availableAmount == other.availableAmount && + created == other.created && + currency == other.currency && + lastCardToken == other.lastCardToken && + lastTransactionEventToken == other.lastTransactionEventToken && + lastTransactionToken == other.lastTransactionToken && + pendingAmount == other.pendingAmount && + totalAmount == other.totalAmount && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(availableAmount, created, currency, lastCardToken, lastTransactionEventToken, lastTransactionToken, pendingAmount, totalAmount, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + availableAmount, + created, + currency, + lastCardToken, + lastTransactionEventToken, + lastTransactionToken, + pendingAmount, + totalAmount, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ApiStatus.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ApiStatus.kt index f4ab50a24..8188736c4 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ApiStatus.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ApiStatus.kt @@ -137,12 +137,12 @@ private constructor( return true } - return /* spotless:off */ other is ApiStatus && message == other.message && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ApiStatus && + message == other.message && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(message, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRule.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRule.kt index 52e0f73ad..2d9355249 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRule.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRule.kt @@ -696,7 +696,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -709,12 +709,33 @@ private constructor( return true } - return /* spotless:off */ other is AuthRule && token == other.token && state == other.state && accountTokens == other.accountTokens && allowedCountries == other.allowedCountries && allowedMcc == other.allowedMcc && blockedCountries == other.blockedCountries && blockedMcc == other.blockedMcc && cardTokens == other.cardTokens && programLevel == other.programLevel && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AuthRule && + token == other.token && + state == other.state && + accountTokens == other.accountTokens && + allowedCountries == other.allowedCountries && + allowedMcc == other.allowedMcc && + blockedCountries == other.blockedCountries && + blockedMcc == other.blockedMcc && + cardTokens == other.cardTokens && + programLevel == other.programLevel && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, state, accountTokens, allowedCountries, allowedMcc, blockedCountries, blockedMcc, cardTokens, programLevel, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + state, + accountTokens, + allowedCountries, + allowedMcc, + blockedCountries, + blockedMcc, + cardTokens, + programLevel, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt index e3a36ec5e..725bcbf0c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt @@ -460,7 +460,7 @@ private constructor( return true } - return /* spotless:off */ other is Operation && value == other.value /* spotless:on */ + return other is Operation && value == other.value } override fun hashCode() = value.hashCode() @@ -566,10 +566,13 @@ private constructor( return true } - return /* spotless:off */ other is Value && regex == other.regex && number == other.number && listOfStrings == other.listOfStrings /* spotless:on */ + return other is Value && + regex == other.regex && + number == other.number && + listOfStrings == other.listOfStrings } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(regex, number, listOfStrings) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(regex, number, listOfStrings) override fun toString(): String = when { @@ -677,12 +680,16 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleCondition && attribute == other.attribute && operation == other.operation && value == other.value && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AuthRuleCondition && + attribute == other.attribute && + operation == other.operation && + value == other.value && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(attribute, operation, value, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(attribute, operation, value, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ApplyParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ApplyParams.kt index f15996d6d..44946bf62 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ApplyParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ApplyParams.kt @@ -368,10 +368,18 @@ private constructor( return true } - return /* spotless:off */ other is Body && applyAuthRuleRequestAccountTokens == other.applyAuthRuleRequestAccountTokens && applyAuthRuleRequestCardTokens == other.applyAuthRuleRequestCardTokens && applyAuthRuleRequestProgramLevel == other.applyAuthRuleRequestProgramLevel /* spotless:on */ + return other is Body && + applyAuthRuleRequestAccountTokens == other.applyAuthRuleRequestAccountTokens && + applyAuthRuleRequestCardTokens == other.applyAuthRuleRequestCardTokens && + applyAuthRuleRequestProgramLevel == other.applyAuthRuleRequestProgramLevel } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(applyAuthRuleRequestAccountTokens, applyAuthRuleRequestCardTokens, applyAuthRuleRequestProgramLevel) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + applyAuthRuleRequestAccountTokens, + applyAuthRuleRequestCardTokens, + applyAuthRuleRequestProgramLevel, + ) override fun toString(): String = when { @@ -662,12 +670,12 @@ private constructor( return true } - return /* spotless:off */ other is ApplyAuthRuleRequestAccountTokens && accountTokens == other.accountTokens && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ApplyAuthRuleRequestAccountTokens && + accountTokens == other.accountTokens && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(accountTokens, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -848,12 +856,12 @@ private constructor( return true } - return /* spotless:off */ other is ApplyAuthRuleRequestCardTokens && cardTokens == other.cardTokens && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ApplyAuthRuleRequestCardTokens && + cardTokens == other.cardTokens && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(cardTokens, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -1081,12 +1089,15 @@ private constructor( return true } - return /* spotless:off */ other is ApplyAuthRuleRequestProgramLevel && programLevel == other.programLevel && excludedCardTokens == other.excludedCardTokens && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ApplyAuthRuleRequestProgramLevel && + programLevel == other.programLevel && + excludedCardTokens == other.excludedCardTokens && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(programLevel, excludedCardTokens, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(programLevel, excludedCardTokens, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1100,10 +1111,15 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2ApplyParams && authRuleToken == other.authRuleToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthRuleV2ApplyParams && + authRuleToken == other.authRuleToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(authRuleToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "AuthRuleV2ApplyParams{authRuleToken=$authRuleToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestCreateParams.kt index 46c6151bc..badd04900 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestCreateParams.kt @@ -467,12 +467,13 @@ private constructor( return true } - return /* spotless:off */ other is BacktestRequest && end == other.end && start == other.start && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BacktestRequest && + end == other.end && + start == other.start && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(end, start, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -485,10 +486,15 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2BacktestCreateParams && authRuleToken == other.authRuleToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthRuleV2BacktestCreateParams && + authRuleToken == other.authRuleToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(authRuleToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "AuthRuleV2BacktestCreateParams{authRuleToken=$authRuleToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestRetrieveParams.kt index b6dfc1ecf..5b0ded3ba 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2BacktestRetrieveParams.kt @@ -227,10 +227,15 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2BacktestRetrieveParams && authRuleToken == other.authRuleToken && authRuleBacktestToken == other.authRuleBacktestToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthRuleV2BacktestRetrieveParams && + authRuleToken == other.authRuleToken && + authRuleBacktestToken == other.authRuleBacktestToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, authRuleBacktestToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(authRuleToken, authRuleBacktestToken, additionalHeaders, additionalQueryParams) override fun toString() = "AuthRuleV2BacktestRetrieveParams{authRuleToken=$authRuleToken, authRuleBacktestToken=$authRuleBacktestToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt index 8b8c2249f..1f7ae4040 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt @@ -349,10 +349,18 @@ private constructor( return true } - return /* spotless:off */ other is Body && createAuthRuleRequestAccountTokens == other.createAuthRuleRequestAccountTokens && createAuthRuleRequestCardTokens == other.createAuthRuleRequestCardTokens && createAuthRuleRequestProgramLevel == other.createAuthRuleRequestProgramLevel /* spotless:on */ + return other is Body && + createAuthRuleRequestAccountTokens == other.createAuthRuleRequestAccountTokens && + createAuthRuleRequestCardTokens == other.createAuthRuleRequestCardTokens && + createAuthRuleRequestProgramLevel == other.createAuthRuleRequestProgramLevel } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(createAuthRuleRequestAccountTokens, createAuthRuleRequestCardTokens, createAuthRuleRequestProgramLevel) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + createAuthRuleRequestAccountTokens, + createAuthRuleRequestCardTokens, + createAuthRuleRequestProgramLevel, + ) override fun toString(): String = when { @@ -929,10 +937,20 @@ private constructor( return true } - return /* spotless:off */ other is Parameters && conditionalBlock == other.conditionalBlock && velocityLimitParams == other.velocityLimitParams && merchantLock == other.merchantLock && conditional3dsAction == other.conditional3dsAction /* spotless:on */ + return other is Parameters && + conditionalBlock == other.conditionalBlock && + velocityLimitParams == other.velocityLimitParams && + merchantLock == other.merchantLock && + conditional3dsAction == other.conditional3dsAction } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(conditionalBlock, velocityLimitParams, merchantLock, conditional3dsAction) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + conditionalBlock, + velocityLimitParams, + merchantLock, + conditional3dsAction, + ) override fun toString(): String = when { @@ -1207,7 +1225,7 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleType && value == other.value /* spotless:on */ + return other is AuthRuleType && value == other.value } override fun hashCode() = value.hashCode() @@ -1220,12 +1238,17 @@ private constructor( return true } - return /* spotless:off */ other is CreateAuthRuleRequestAccountTokens && accountTokens == other.accountTokens && name == other.name && parameters == other.parameters && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CreateAuthRuleRequestAccountTokens && + accountTokens == other.accountTokens && + name == other.name && + parameters == other.parameters && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accountTokens, name, parameters, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(accountTokens, name, parameters, type, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1690,10 +1713,20 @@ private constructor( return true } - return /* spotless:off */ other is Parameters && conditionalBlock == other.conditionalBlock && velocityLimitParams == other.velocityLimitParams && merchantLock == other.merchantLock && conditional3dsAction == other.conditional3dsAction /* spotless:on */ + return other is Parameters && + conditionalBlock == other.conditionalBlock && + velocityLimitParams == other.velocityLimitParams && + merchantLock == other.merchantLock && + conditional3dsAction == other.conditional3dsAction } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(conditionalBlock, velocityLimitParams, merchantLock, conditional3dsAction) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + conditionalBlock, + velocityLimitParams, + merchantLock, + conditional3dsAction, + ) override fun toString(): String = when { @@ -1968,7 +2001,7 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleType && value == other.value /* spotless:on */ + return other is AuthRuleType && value == other.value } override fun hashCode() = value.hashCode() @@ -1981,12 +2014,17 @@ private constructor( return true } - return /* spotless:off */ other is CreateAuthRuleRequestCardTokens && cardTokens == other.cardTokens && name == other.name && parameters == other.parameters && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CreateAuthRuleRequestCardTokens && + cardTokens == other.cardTokens && + name == other.name && + parameters == other.parameters && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(cardTokens, name, parameters, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(cardTokens, name, parameters, type, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -2496,10 +2534,20 @@ private constructor( return true } - return /* spotless:off */ other is Parameters && conditionalBlock == other.conditionalBlock && velocityLimitParams == other.velocityLimitParams && merchantLock == other.merchantLock && conditional3dsAction == other.conditional3dsAction /* spotless:on */ + return other is Parameters && + conditionalBlock == other.conditionalBlock && + velocityLimitParams == other.velocityLimitParams && + merchantLock == other.merchantLock && + conditional3dsAction == other.conditional3dsAction } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(conditionalBlock, velocityLimitParams, merchantLock, conditional3dsAction) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + conditionalBlock, + velocityLimitParams, + merchantLock, + conditional3dsAction, + ) override fun toString(): String = when { @@ -2774,7 +2822,7 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleType && value == other.value /* spotless:on */ + return other is AuthRuleType && value == other.value } override fun hashCode() = value.hashCode() @@ -2787,12 +2835,25 @@ private constructor( return true } - return /* spotless:off */ other is CreateAuthRuleRequestProgramLevel && programLevel == other.programLevel && excludedCardTokens == other.excludedCardTokens && name == other.name && parameters == other.parameters && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CreateAuthRuleRequestProgramLevel && + programLevel == other.programLevel && + excludedCardTokens == other.excludedCardTokens && + name == other.name && + parameters == other.parameters && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(programLevel, excludedCardTokens, name, parameters, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + programLevel, + excludedCardTokens, + name, + parameters, + type, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2806,10 +2867,13 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2CreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthRuleV2CreateParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "AuthRuleV2CreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DeleteParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DeleteParams.kt index e7b751de4..b68acc2d9 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DeleteParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DeleteParams.kt @@ -216,10 +216,20 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2DeleteParams && authRuleToken == other.authRuleToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is AuthRuleV2DeleteParams && + authRuleToken == other.authRuleToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + authRuleToken, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "AuthRuleV2DeleteParams{authRuleToken=$authRuleToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt index 316c92db7..9269adfdb 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt @@ -458,12 +458,12 @@ private constructor( return true } - return /* spotless:off */ other is Body && parameters == other.parameters && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + parameters == other.parameters && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(parameters, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -602,10 +602,15 @@ private constructor( return true } - return /* spotless:off */ other is Parameters && conditionalBlock == other.conditionalBlock && velocityLimitParams == other.velocityLimitParams && merchantLock == other.merchantLock && conditional3dsAction == other.conditional3dsAction /* spotless:on */ + return other is Parameters && + conditionalBlock == other.conditionalBlock && + velocityLimitParams == other.velocityLimitParams && + merchantLock == other.merchantLock && + conditional3dsAction == other.conditional3dsAction } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(conditionalBlock, velocityLimitParams, merchantLock, conditional3dsAction) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(conditionalBlock, velocityLimitParams, merchantLock, conditional3dsAction) override fun toString(): String = when { @@ -726,10 +731,15 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2DraftParams && authRuleToken == other.authRuleToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthRuleV2DraftParams && + authRuleToken == other.authRuleToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(authRuleToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "AuthRuleV2DraftParams{authRuleToken=$authRuleToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPage.kt index b375e7eba..9a66b12e3 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPage.kt @@ -120,10 +120,13 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2ListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is AuthRuleV2ListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "AuthRuleV2ListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageAsync.kt index eb7f3078e..763193a75 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageAsync.kt @@ -134,10 +134,14 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2ListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is AuthRuleV2ListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "AuthRuleV2ListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageResponse.kt index fb05d444a..e4466e011 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListPageResponse.kt @@ -215,12 +215,13 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2ListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AuthRuleV2ListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListParams.kt index b89830034..c016d72ed 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ListParams.kt @@ -406,7 +406,7 @@ private constructor( return true } - return /* spotless:off */ other is EventStream && value == other.value /* spotless:on */ + return other is EventStream && value == other.value } override fun hashCode() = value.hashCode() @@ -544,7 +544,7 @@ private constructor( return true } - return /* spotless:off */ other is Scope && value == other.value /* spotless:on */ + return other is Scope && value == other.value } override fun hashCode() = value.hashCode() @@ -557,10 +557,30 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2ListParams && accountToken == other.accountToken && cardToken == other.cardToken && endingBefore == other.endingBefore && eventStream == other.eventStream && pageSize == other.pageSize && scope == other.scope && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthRuleV2ListParams && + accountToken == other.accountToken && + cardToken == other.cardToken && + endingBefore == other.endingBefore && + eventStream == other.eventStream && + pageSize == other.pageSize && + scope == other.scope && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, cardToken, endingBefore, eventStream, pageSize, scope, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + accountToken, + cardToken, + endingBefore, + eventStream, + pageSize, + scope, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "AuthRuleV2ListParams{accountToken=$accountToken, cardToken=$cardToken, endingBefore=$endingBefore, eventStream=$eventStream, pageSize=$pageSize, scope=$scope, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2PromoteParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2PromoteParams.kt index 7ca444e19..f469d4b99 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2PromoteParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2PromoteParams.kt @@ -219,10 +219,20 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2PromoteParams && authRuleToken == other.authRuleToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is AuthRuleV2PromoteParams && + authRuleToken == other.authRuleToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + authRuleToken, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "AuthRuleV2PromoteParams{authRuleToken=$authRuleToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ReportParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ReportParams.kt index efdc8324e..127bd164d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ReportParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2ReportParams.kt @@ -261,10 +261,20 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2ReportParams && authRuleToken == other.authRuleToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is AuthRuleV2ReportParams && + authRuleToken == other.authRuleToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + authRuleToken, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "AuthRuleV2ReportParams{authRuleToken=$authRuleToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2RetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2RetrieveParams.kt index e0ee032db..9a2d13881 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2RetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2RetrieveParams.kt @@ -181,10 +181,14 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2RetrieveParams && authRuleToken == other.authRuleToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthRuleV2RetrieveParams && + authRuleToken == other.authRuleToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(authRuleToken, additionalHeaders, additionalQueryParams) override fun toString() = "AuthRuleV2RetrieveParams{authRuleToken=$authRuleToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2RetrieveReportParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2RetrieveReportParams.kt index be1a49ac4..4d6c4e6e2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2RetrieveReportParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2RetrieveReportParams.kt @@ -237,10 +237,16 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2RetrieveReportParams && authRuleToken == other.authRuleToken && begin == other.begin && end == other.end && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthRuleV2RetrieveReportParams && + authRuleToken == other.authRuleToken && + begin == other.begin && + end == other.end && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, begin, end, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(authRuleToken, begin, end, additionalHeaders, additionalQueryParams) override fun toString() = "AuthRuleV2RetrieveReportParams{authRuleToken=$authRuleToken, begin=$begin, end=$end, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2UpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2UpdateParams.kt index b9bb37e73..4da42cbb9 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2UpdateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2UpdateParams.kt @@ -338,10 +338,14 @@ private constructor( return true } - return /* spotless:off */ other is Body && accountLevelRule == other.accountLevelRule && cardLevelRule == other.cardLevelRule && programLevelRule == other.programLevelRule /* spotless:on */ + return other is Body && + accountLevelRule == other.accountLevelRule && + cardLevelRule == other.cardLevelRule && + programLevelRule == other.programLevelRule } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountLevelRule, cardLevelRule, programLevelRule) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountLevelRule, cardLevelRule, programLevelRule) override fun toString(): String = when { @@ -796,7 +800,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -809,12 +813,16 @@ private constructor( return true } - return /* spotless:off */ other is AccountLevelRule && accountTokens == other.accountTokens && name == other.name && state == other.state && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountLevelRule && + accountTokens == other.accountTokens && + name == other.name && + state == other.state && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accountTokens, name, state, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(accountTokens, name, state, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1177,7 +1185,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1190,12 +1198,16 @@ private constructor( return true } - return /* spotless:off */ other is CardLevelRule && cardTokens == other.cardTokens && name == other.name && state == other.state && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardLevelRule && + cardTokens == other.cardTokens && + name == other.name && + state == other.state && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(cardTokens, name, state, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(cardTokens, name, state, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1602,7 +1614,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1615,12 +1627,17 @@ private constructor( return true } - return /* spotless:off */ other is ProgramLevelRule && excludedCardTokens == other.excludedCardTokens && name == other.name && programLevel == other.programLevel && state == other.state && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ProgramLevelRule && + excludedCardTokens == other.excludedCardTokens && + name == other.name && + programLevel == other.programLevel && + state == other.state && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(excludedCardTokens, name, programLevel, state, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(excludedCardTokens, name, programLevel, state, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1634,10 +1651,15 @@ private constructor( return true } - return /* spotless:off */ other is AuthRuleV2UpdateParams && authRuleToken == other.authRuleToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthRuleV2UpdateParams && + authRuleToken == other.authRuleToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(authRuleToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(authRuleToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "AuthRuleV2UpdateParams{authRuleToken=$authRuleToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamEnrollmentRetrieveSecretParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamEnrollmentRetrieveSecretParams.kt index 5d6a2ce95..54beacc0e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamEnrollmentRetrieveSecretParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamEnrollmentRetrieveSecretParams.kt @@ -174,10 +174,12 @@ private constructor( return true } - return /* spotless:off */ other is AuthStreamEnrollmentRetrieveSecretParams && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is AuthStreamEnrollmentRetrieveSecretParams && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(additionalHeaders, additionalQueryParams) override fun toString() = "AuthStreamEnrollmentRetrieveSecretParams{additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamEnrollmentRotateSecretParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamEnrollmentRotateSecretParams.kt index 0356998ce..616e8cb54 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamEnrollmentRotateSecretParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamEnrollmentRotateSecretParams.kt @@ -208,10 +208,14 @@ private constructor( return true } - return /* spotless:off */ other is AuthStreamEnrollmentRotateSecretParams && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is AuthStreamEnrollmentRotateSecretParams && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(additionalHeaders, additionalQueryParams, additionalBodyProperties) override fun toString() = "AuthStreamEnrollmentRotateSecretParams{additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamSecret.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamSecret.kt index 74265db9f..6697c3caa 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamSecret.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthStreamSecret.kt @@ -141,12 +141,12 @@ private constructor( return true } - return /* spotless:off */ other is AuthStreamSecret && secret == other.secret && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AuthStreamSecret && + secret == other.secret && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(secret, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt index db26ff0d0..fd15e6896 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt @@ -1220,7 +1220,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -1364,7 +1364,7 @@ private constructor( return true } - return /* spotless:off */ other is AuthenticationResult && value == other.value /* spotless:on */ + return other is AuthenticationResult && value == other.value } override fun hashCode() = value.hashCode() @@ -1503,7 +1503,7 @@ private constructor( return true } - return /* spotless:off */ other is CardExpiryCheck && value == other.value /* spotless:on */ + return other is CardExpiryCheck && value == other.value } override fun hashCode() = value.hashCode() @@ -2341,13 +2341,28 @@ private constructor( return true } - return /* spotless:off */ other is BillingAddress && address1 == other.address1 && address2 == other.address2 && address3 == other.address3 && city == other.city && country == other.country && postalCode == other.postalCode && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BillingAddress && + address1 == other.address1 && + address2 == other.address2 && + address3 == other.address3 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + address1, + address2, + address3, + city, + country, + postalCode, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, address2, address3, city, country, postalCode, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -2701,13 +2716,28 @@ private constructor( return true } - return /* spotless:off */ other is ShippingAddress && address1 == other.address1 && address2 == other.address2 && address3 == other.address3 && city == other.city && country == other.country && postalCode == other.postalCode && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ShippingAddress && + address1 == other.address1 && + address2 == other.address2 && + address3 == other.address3 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + address1, + address2, + address3, + city, + country, + postalCode, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, address2, address3, city, country, postalCode, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -2719,12 +2749,31 @@ private constructor( return true } - return /* spotless:off */ other is Cardholder && addressMatch == other.addressMatch && billingAddress == other.billingAddress && email == other.email && name == other.name && phoneNumberHome == other.phoneNumberHome && phoneNumberMobile == other.phoneNumberMobile && phoneNumberWork == other.phoneNumberWork && shippingAddress == other.shippingAddress && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Cardholder && + addressMatch == other.addressMatch && + billingAddress == other.billingAddress && + email == other.email && + name == other.name && + phoneNumberHome == other.phoneNumberHome && + phoneNumberMobile == other.phoneNumberMobile && + phoneNumberWork == other.phoneNumberWork && + shippingAddress == other.shippingAddress && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(addressMatch, billingAddress, email, name, phoneNumberHome, phoneNumberMobile, phoneNumberWork, shippingAddress, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + addressMatch, + billingAddress, + email, + name, + phoneNumberHome, + phoneNumberMobile, + phoneNumberWork, + shippingAddress, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2856,7 +2905,7 @@ private constructor( return true } - return /* spotless:off */ other is Channel && value == other.value /* spotless:on */ + return other is Channel && value == other.value } override fun hashCode() = value.hashCode() @@ -3930,7 +3979,7 @@ private constructor( return true } - return /* spotless:off */ other is DeliveryTimeFrame && value == other.value /* spotless:on */ + return other is DeliveryTimeFrame && value == other.value } override fun hashCode() = value.hashCode() @@ -4069,7 +4118,7 @@ private constructor( return true } - return /* spotless:off */ other is OrderAvailability && value == other.value /* spotless:on */ + return other is OrderAvailability && value == other.value } override fun hashCode() = value.hashCode() @@ -4206,7 +4255,7 @@ private constructor( return true } - return /* spotless:off */ other is ReorderItems && value == other.value /* spotless:on */ + return other is ReorderItems && value == other.value } override fun hashCode() = value.hashCode() @@ -4389,7 +4438,7 @@ private constructor( return true } - return /* spotless:off */ other is ShippingMethod && value == other.value /* spotless:on */ + return other is ShippingMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -4402,13 +4451,34 @@ private constructor( return true } - return /* spotless:off */ other is RiskIndicator && deliveryEmailAddress == other.deliveryEmailAddress && deliveryTimeFrame == other.deliveryTimeFrame && giftCardAmount == other.giftCardAmount && giftCardCount == other.giftCardCount && giftCardCurrency == other.giftCardCurrency && orderAvailability == other.orderAvailability && preOrderAvailableDate == other.preOrderAvailableDate && reorderItems == other.reorderItems && shippingMethod == other.shippingMethod && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RiskIndicator && + deliveryEmailAddress == other.deliveryEmailAddress && + deliveryTimeFrame == other.deliveryTimeFrame && + giftCardAmount == other.giftCardAmount && + giftCardCount == other.giftCardCount && + giftCardCurrency == other.giftCardCurrency && + orderAvailability == other.orderAvailability && + preOrderAvailableDate == other.preOrderAvailableDate && + reorderItems == other.reorderItems && + shippingMethod == other.shippingMethod && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + deliveryEmailAddress, + deliveryTimeFrame, + giftCardAmount, + giftCardCount, + giftCardCurrency, + orderAvailability, + preOrderAvailableDate, + reorderItems, + shippingMethod, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(deliveryEmailAddress, deliveryTimeFrame, giftCardAmount, giftCardCount, giftCardCurrency, orderAvailability, preOrderAvailableDate, reorderItems, shippingMethod, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -4420,12 +4490,18 @@ private constructor( return true } - return /* spotless:off */ other is Merchant && id == other.id && country == other.country && mcc == other.mcc && name == other.name && riskIndicator == other.riskIndicator && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Merchant && + id == other.id && + country == other.country && + mcc == other.mcc && + name == other.name && + riskIndicator == other.riskIndicator && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, country, mcc, name, riskIndicator, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(id, country, mcc, name, riskIndicator, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -4558,7 +4634,7 @@ private constructor( return true } - return /* spotless:off */ other is MessageCategory && value == other.value /* spotless:on */ + return other is MessageCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -4736,7 +4812,7 @@ private constructor( return true } - return /* spotless:off */ other is ThreeDSRequestorChallengeIndicator && value == other.value /* spotless:on */ + return other is ThreeDSRequestorChallengeIndicator && value == other.value } override fun hashCode() = value.hashCode() @@ -5084,7 +5160,7 @@ private constructor( return true } - return /* spotless:off */ other is NetworkDecision && value == other.value /* spotless:on */ + return other is NetworkDecision && value == other.value } override fun hashCode() = value.hashCode() @@ -5097,12 +5173,15 @@ private constructor( return true } - return /* spotless:off */ other is AdditionalData && networkDecision == other.networkDecision && networkRiskScore == other.networkRiskScore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AdditionalData && + networkDecision == other.networkDecision && + networkRiskScore == other.networkRiskScore && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(networkDecision, networkRiskScore, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(networkDecision, networkRiskScore, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -5290,12 +5369,13 @@ private constructor( return true } - return /* spotless:off */ other is App && deviceInfo == other.deviceInfo && ip == other.ip && additionalProperties == other.additionalProperties /* spotless:on */ + return other is App && + deviceInfo == other.deviceInfo && + ip == other.ip && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(deviceInfo, ip, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -5482,7 +5562,7 @@ private constructor( return true } - return /* spotless:off */ other is AuthenticationRequestType && value == other.value /* spotless:on */ + return other is AuthenticationRequestType && value == other.value } override fun hashCode() = value.hashCode() @@ -5935,12 +6015,29 @@ private constructor( return true } - return /* spotless:off */ other is Browser && acceptHeader == other.acceptHeader && ip == other.ip && javaEnabled == other.javaEnabled && javascriptEnabled == other.javascriptEnabled && language == other.language && timeZone == other.timeZone && userAgent == other.userAgent && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Browser && + acceptHeader == other.acceptHeader && + ip == other.ip && + javaEnabled == other.javaEnabled && + javascriptEnabled == other.javascriptEnabled && + language == other.language && + timeZone == other.timeZone && + userAgent == other.userAgent && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(acceptHeader, ip, javaEnabled, javascriptEnabled, language, timeZone, userAgent, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + acceptHeader, + ip, + javaEnabled, + javascriptEnabled, + language, + timeZone, + userAgent, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -6266,7 +6363,7 @@ private constructor( return true } - return /* spotless:off */ other is MethodType && value == other.value /* spotless:on */ + return other is MethodType && value == other.value } override fun hashCode() = value.hashCode() @@ -6279,12 +6376,15 @@ private constructor( return true } - return /* spotless:off */ other is ChallengeMetadata && methodType == other.methodType && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ChallengeMetadata && + methodType == other.methodType && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(methodType, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(methodType, phoneNumber, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -6426,7 +6526,7 @@ private constructor( return true } - return /* spotless:off */ other is ChallengeOrchestratedBy && value == other.value /* spotless:on */ + return other is ChallengeOrchestratedBy && value == other.value } override fun hashCode() = value.hashCode() @@ -6583,7 +6683,7 @@ private constructor( return true } - return /* spotless:off */ other is DecisionMadeBy && value == other.value /* spotless:on */ + return other is DecisionMadeBy && value == other.value } override fun hashCode() = value.hashCode() @@ -6803,7 +6903,7 @@ private constructor( return true } - return /* spotless:off */ other is ThreeRiRequestType && value == other.value /* spotless:on */ + return other is ThreeRiRequestType && value == other.value } override fun hashCode() = value.hashCode() @@ -7351,7 +7451,7 @@ private constructor( return true } - return /* spotless:off */ other is Type && value == other.value /* spotless:on */ + return other is Type && value == other.value } override fun hashCode() = value.hashCode() @@ -7364,12 +7464,27 @@ private constructor( return true } - return /* spotless:off */ other is Transaction && amount == other.amount && cardholderAmount == other.cardholderAmount && currency == other.currency && currencyExponent == other.currencyExponent && dateTime == other.dateTime && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Transaction && + amount == other.amount && + cardholderAmount == other.cardholderAmount && + currency == other.currency && + currencyExponent == other.currencyExponent && + dateTime == other.dateTime && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(amount, cardholderAmount, currency, currencyExponent, dateTime, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + amount, + cardholderAmount, + currency, + currencyExponent, + dateTime, + type, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -7382,12 +7497,55 @@ private constructor( return true } - return /* spotless:off */ other is AuthenticationRetrieveResponse && token == other.token && accountType == other.accountType && authenticationResult == other.authenticationResult && cardExpiryCheck == other.cardExpiryCheck && cardToken == other.cardToken && cardholder == other.cardholder && channel == other.channel && created == other.created && merchant == other.merchant && messageCategory == other.messageCategory && threeDSRequestorChallengeIndicator == other.threeDSRequestorChallengeIndicator && additionalData == other.additionalData && app == other.app && authenticationRequestType == other.authenticationRequestType && browser == other.browser && challengeMetadata == other.challengeMetadata && challengeOrchestratedBy == other.challengeOrchestratedBy && decisionMadeBy == other.decisionMadeBy && threeRiRequestType == other.threeRiRequestType && transaction == other.transaction && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AuthenticationRetrieveResponse && + token == other.token && + accountType == other.accountType && + authenticationResult == other.authenticationResult && + cardExpiryCheck == other.cardExpiryCheck && + cardToken == other.cardToken && + cardholder == other.cardholder && + channel == other.channel && + created == other.created && + merchant == other.merchant && + messageCategory == other.messageCategory && + threeDSRequestorChallengeIndicator == other.threeDSRequestorChallengeIndicator && + additionalData == other.additionalData && + app == other.app && + authenticationRequestType == other.authenticationRequestType && + browser == other.browser && + challengeMetadata == other.challengeMetadata && + challengeOrchestratedBy == other.challengeOrchestratedBy && + decisionMadeBy == other.decisionMadeBy && + threeRiRequestType == other.threeRiRequestType && + transaction == other.transaction && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountType, authenticationResult, cardExpiryCheck, cardToken, cardholder, channel, created, merchant, messageCategory, threeDSRequestorChallengeIndicator, additionalData, app, authenticationRequestType, browser, challengeMetadata, challengeOrchestratedBy, decisionMadeBy, threeRiRequestType, transaction, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountType, + authenticationResult, + cardExpiryCheck, + cardToken, + cardholder, + channel, + created, + merchant, + messageCategory, + threeDSRequestorChallengeIndicator, + additionalData, + app, + authenticationRequestType, + browser, + challengeMetadata, + challengeOrchestratedBy, + decisionMadeBy, + threeRiRequestType, + transaction, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationSimulateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationSimulateResponse.kt index 3303964ab..375205b39 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationSimulateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationSimulateResponse.kt @@ -145,12 +145,12 @@ private constructor( return true } - return /* spotless:off */ other is AuthenticationSimulateResponse && token == other.token && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AuthenticationSimulateResponse && + token == other.token && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(token, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestCreateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestCreateResponse.kt index a6c4ee869..2ef5f76b0 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestCreateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestCreateResponse.kt @@ -148,12 +148,12 @@ private constructor( return true } - return /* spotless:off */ other is BacktestCreateResponse && backtestToken == other.backtestToken && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BacktestCreateResponse && + backtestToken == other.backtestToken && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(backtestToken, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestResults.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestResults.kt index cd0c2fae2..bc604c2c1 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestResults.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BacktestResults.kt @@ -420,12 +420,15 @@ private constructor( return true } - return /* spotless:off */ other is Results && currentVersion == other.currentVersion && draftVersion == other.draftVersion && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Results && + currentVersion == other.currentVersion && + draftVersion == other.draftVersion && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(currentVersion, draftVersion, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(currentVersion, draftVersion, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -638,12 +641,16 @@ private constructor( return true } - return /* spotless:off */ other is SimulationParameters && authRuleToken == other.authRuleToken && end == other.end && start == other.start && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SimulationParameters && + authRuleToken == other.authRuleToken && + end == other.end && + start == other.start && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(authRuleToken, end, start, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(authRuleToken, end, start, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -656,12 +663,16 @@ private constructor( return true } - return /* spotless:off */ other is BacktestResults && backtestToken == other.backtestToken && results == other.results && simulationParameters == other.simulationParameters && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BacktestResults && + backtestToken == other.backtestToken && + results == other.results && + simulationParameters == other.simulationParameters && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(backtestToken, results, simulationParameters, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(backtestToken, results, simulationParameters, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Balance.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Balance.kt index 13d1e39f6..efbcf1099 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Balance.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Balance.kt @@ -698,7 +698,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountType && value == other.value /* spotless:on */ + return other is FinancialAccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -711,12 +711,35 @@ private constructor( return true } - return /* spotless:off */ other is Balance && availableAmount == other.availableAmount && created == other.created && currency == other.currency && financialAccountToken == other.financialAccountToken && financialAccountType == other.financialAccountType && lastTransactionEventToken == other.lastTransactionEventToken && lastTransactionToken == other.lastTransactionToken && pendingAmount == other.pendingAmount && totalAmount == other.totalAmount && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Balance && + availableAmount == other.availableAmount && + created == other.created && + currency == other.currency && + financialAccountToken == other.financialAccountToken && + financialAccountType == other.financialAccountType && + lastTransactionEventToken == other.lastTransactionEventToken && + lastTransactionToken == other.lastTransactionToken && + pendingAmount == other.pendingAmount && + totalAmount == other.totalAmount && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(availableAmount, created, currency, financialAccountToken, financialAccountType, lastTransactionEventToken, lastTransactionToken, pendingAmount, totalAmount, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + availableAmount, + created, + currency, + financialAccountToken, + financialAccountType, + lastTransactionEventToken, + lastTransactionToken, + pendingAmount, + totalAmount, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPage.kt index c49bcbeea..8b559a228 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPage.kt @@ -115,10 +115,13 @@ private constructor( return true } - return /* spotless:off */ other is BalanceListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is BalanceListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "BalanceListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageAsync.kt index 652e8bb24..c49917508 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageAsync.kt @@ -128,10 +128,14 @@ private constructor( return true } - return /* spotless:off */ other is BalanceListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is BalanceListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "BalanceListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageResponse.kt index 040ffb2f4..4cc495728 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListPageResponse.kt @@ -210,12 +210,13 @@ private constructor( return true } - return /* spotless:off */ other is BalanceListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BalanceListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListParams.kt index 16d36cd09..9fc6ad4b4 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListParams.kt @@ -377,7 +377,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountType && value == other.value /* spotless:on */ + return other is FinancialAccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -390,10 +390,24 @@ private constructor( return true } - return /* spotless:off */ other is BalanceListParams && accountToken == other.accountToken && balanceDate == other.balanceDate && businessAccountToken == other.businessAccountToken && financialAccountType == other.financialAccountType && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is BalanceListParams && + accountToken == other.accountToken && + balanceDate == other.balanceDate && + businessAccountToken == other.businessAccountToken && + financialAccountType == other.financialAccountType && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, balanceDate, businessAccountToken, financialAccountType, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + accountToken, + balanceDate, + businessAccountToken, + financialAccountType, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "BalanceListParams{accountToken=$accountToken, balanceDate=$balanceDate, businessAccountToken=$businessAccountToken, financialAccountType=$financialAccountType, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListResponse.kt index e441cf259..6ff9e3a0d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BalanceListResponse.kt @@ -672,7 +672,7 @@ private constructor( return true } - return /* spotless:off */ other is Type && value == other.value /* spotless:on */ + return other is Type && value == other.value } override fun hashCode() = value.hashCode() @@ -685,12 +685,35 @@ private constructor( return true } - return /* spotless:off */ other is BalanceListResponse && token == other.token && availableAmount == other.availableAmount && created == other.created && currency == other.currency && lastTransactionEventToken == other.lastTransactionEventToken && lastTransactionToken == other.lastTransactionToken && pendingAmount == other.pendingAmount && totalAmount == other.totalAmount && type == other.type && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BalanceListResponse && + token == other.token && + availableAmount == other.availableAmount && + created == other.created && + currency == other.currency && + lastTransactionEventToken == other.lastTransactionEventToken && + lastTransactionToken == other.lastTransactionToken && + pendingAmount == other.pendingAmount && + totalAmount == other.totalAmount && + type == other.type && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, availableAmount, created, currency, lastTransactionEventToken, lastTransactionToken, pendingAmount, totalAmount, type, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + availableAmount, + created, + currency, + lastTransactionEventToken, + lastTransactionToken, + pendingAmount, + totalAmount, + type, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferCreateParams.kt index 502ed72ae..41837e8f7 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferCreateParams.kt @@ -911,12 +911,31 @@ private constructor( return true } - return /* spotless:off */ other is Body && amount == other.amount && category == other.category && fromFinancialAccountToken == other.fromFinancialAccountToken && subtype == other.subtype && toFinancialAccountToken == other.toFinancialAccountToken && type == other.type && token == other.token && memo == other.memo && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + amount == other.amount && + category == other.category && + fromFinancialAccountToken == other.fromFinancialAccountToken && + subtype == other.subtype && + toFinancialAccountToken == other.toFinancialAccountToken && + type == other.type && + token == other.token && + memo == other.memo && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(amount, category, fromFinancialAccountToken, subtype, toFinancialAccountToken, type, token, memo, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + amount, + category, + fromFinancialAccountToken, + subtype, + toFinancialAccountToken, + type, + token, + memo, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1072,7 +1091,7 @@ private constructor( return true } - return /* spotless:off */ other is Category && value == other.value /* spotless:on */ + return other is Category && value == other.value } override fun hashCode() = value.hashCode() @@ -1384,7 +1403,7 @@ private constructor( return true } - return /* spotless:off */ other is Type && value == other.value /* spotless:on */ + return other is Type && value == other.value } override fun hashCode() = value.hashCode() @@ -1397,10 +1416,13 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferCreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is BookTransferCreateParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "BookTransferCreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPage.kt index a68000086..33c65597f 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPage.kt @@ -120,10 +120,13 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is BookTransferListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "BookTransferListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageAsync.kt index 0be2b0555..333e96ec6 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageAsync.kt @@ -134,10 +134,14 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is BookTransferListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "BookTransferListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageResponse.kt index 449d64783..1730e353c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListPageResponse.kt @@ -209,12 +209,13 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BookTransferListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListParams.kt index af183e33b..b1b0fd379 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferListParams.kt @@ -517,7 +517,7 @@ private constructor( return true } - return /* spotless:off */ other is Category && value == other.value /* spotless:on */ + return other is Category && value == other.value } override fun hashCode() = value.hashCode() @@ -643,7 +643,7 @@ private constructor( return true } - return /* spotless:off */ other is Result && value == other.value /* spotless:on */ + return other is Result && value == other.value } override fun hashCode() = value.hashCode() @@ -769,7 +769,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -782,10 +782,38 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferListParams && accountToken == other.accountToken && begin == other.begin && businessAccountToken == other.businessAccountToken && category == other.category && end == other.end && endingBefore == other.endingBefore && financialAccountToken == other.financialAccountToken && pageSize == other.pageSize && result == other.result && startingAfter == other.startingAfter && status == other.status && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is BookTransferListParams && + accountToken == other.accountToken && + begin == other.begin && + businessAccountToken == other.businessAccountToken && + category == other.category && + end == other.end && + endingBefore == other.endingBefore && + financialAccountToken == other.financialAccountToken && + pageSize == other.pageSize && + result == other.result && + startingAfter == other.startingAfter && + status == other.status && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, begin, businessAccountToken, category, end, endingBefore, financialAccountToken, pageSize, result, startingAfter, status, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + accountToken, + begin, + businessAccountToken, + category, + end, + endingBefore, + financialAccountToken, + pageSize, + result, + startingAfter, + status, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "BookTransferListParams{accountToken=$accountToken, begin=$begin, businessAccountToken=$businessAccountToken, category=$category, end=$end, endingBefore=$endingBefore, financialAccountToken=$financialAccountToken, pageSize=$pageSize, result=$result, startingAfter=$startingAfter, status=$status, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferResponse.kt index 7f2925103..02b84e2fa 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferResponse.kt @@ -874,7 +874,7 @@ private constructor( return true } - return /* spotless:off */ other is Category && value == other.value /* spotless:on */ + return other is Category && value == other.value } override fun hashCode() = value.hashCode() @@ -1441,7 +1441,7 @@ private constructor( return true } - return /* spotless:off */ other is DetailedResult && value == other.value /* spotless:on */ + return other is DetailedResult && value == other.value } override fun hashCode() = value.hashCode() @@ -1574,7 +1574,7 @@ private constructor( return true } - return /* spotless:off */ other is Result && value == other.value /* spotless:on */ + return other is Result && value == other.value } override fun hashCode() = value.hashCode() @@ -1587,12 +1587,31 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferEvent && token == other.token && amount == other.amount && created == other.created && detailedResults == other.detailedResults && memo == other.memo && result == other.result && subtype == other.subtype && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BookTransferEvent && + token == other.token && + amount == other.amount && + created == other.created && + detailedResults == other.detailedResults && + memo == other.memo && + result == other.result && + subtype == other.subtype && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, amount, created, detailedResults, memo, result, subtype, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + amount, + created, + detailedResults, + memo, + result, + subtype, + type, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1721,7 +1740,7 @@ private constructor( return true } - return /* spotless:off */ other is Result && value == other.value /* spotless:on */ + return other is Result && value == other.value } override fun hashCode() = value.hashCode() @@ -1856,7 +1875,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -2108,12 +2127,21 @@ private constructor( return true } - return /* spotless:off */ other is TransactionSeries && relatedTransactionEventToken == other.relatedTransactionEventToken && relatedTransactionToken == other.relatedTransactionToken && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TransactionSeries && + relatedTransactionEventToken == other.relatedTransactionEventToken && + relatedTransactionToken == other.relatedTransactionToken && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(relatedTransactionEventToken, relatedTransactionToken, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + relatedTransactionEventToken, + relatedTransactionToken, + type, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2126,12 +2154,43 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferResponse && token == other.token && category == other.category && created == other.created && currency == other.currency && events == other.events && externalResource == other.externalResource && fromFinancialAccountToken == other.fromFinancialAccountToken && pendingAmount == other.pendingAmount && result == other.result && settledAmount == other.settledAmount && status == other.status && toFinancialAccountToken == other.toFinancialAccountToken && transactionSeries == other.transactionSeries && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BookTransferResponse && + token == other.token && + category == other.category && + created == other.created && + currency == other.currency && + events == other.events && + externalResource == other.externalResource && + fromFinancialAccountToken == other.fromFinancialAccountToken && + pendingAmount == other.pendingAmount && + result == other.result && + settledAmount == other.settledAmount && + status == other.status && + toFinancialAccountToken == other.toFinancialAccountToken && + transactionSeries == other.transactionSeries && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, category, created, currency, events, externalResource, fromFinancialAccountToken, pendingAmount, result, settledAmount, status, toFinancialAccountToken, transactionSeries, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + category, + created, + currency, + events, + externalResource, + fromFinancialAccountToken, + pendingAmount, + result, + settledAmount, + status, + toFinancialAccountToken, + transactionSeries, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferRetrieveParams.kt index 118f6f323..c8c860285 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferRetrieveParams.kt @@ -185,10 +185,14 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferRetrieveParams && bookTransferToken == other.bookTransferToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is BookTransferRetrieveParams && + bookTransferToken == other.bookTransferToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(bookTransferToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(bookTransferToken, additionalHeaders, additionalQueryParams) override fun toString() = "BookTransferRetrieveParams{bookTransferToken=$bookTransferToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferReverseParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferReverseParams.kt index 94260f343..7ec0887e7 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferReverseParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/BookTransferReverseParams.kt @@ -379,12 +379,12 @@ private constructor( return true } - return /* spotless:off */ other is Body && memo == other.memo && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + memo == other.memo && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(memo, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -396,10 +396,15 @@ private constructor( return true } - return /* spotless:off */ other is BookTransferReverseParams && bookTransferToken == other.bookTransferToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is BookTransferReverseParams && + bookTransferToken == other.bookTransferToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(bookTransferToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(bookTransferToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "BookTransferReverseParams{bookTransferToken=$bookTransferToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Card.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Card.kt index de2e73d74..5a0193bf0 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Card.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Card.kt @@ -1358,12 +1358,67 @@ private constructor( return true } - return /* spotless:off */ other is Card && token == other.token && accountToken == other.accountToken && cardProgramToken == other.cardProgramToken && created == other.created && funding == other.funding && lastFour == other.lastFour && pinStatus == other.pinStatus && spendLimit == other.spendLimit && spendLimitDuration == other.spendLimitDuration && state == other.state && type == other.type && authRuleTokens == other.authRuleTokens && cardholderCurrency == other.cardholderCurrency && comment == other.comment && digitalCardArtToken == other.digitalCardArtToken && expMonth == other.expMonth && expYear == other.expYear && hostname == other.hostname && memo == other.memo && networkProgramToken == other.networkProgramToken && pendingCommands == other.pendingCommands && productId == other.productId && replacementFor == other.replacementFor && substatus == other.substatus && cvv == other.cvv && pan == other.pan && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Card && + token == other.token && + accountToken == other.accountToken && + cardProgramToken == other.cardProgramToken && + created == other.created && + funding == other.funding && + lastFour == other.lastFour && + pinStatus == other.pinStatus && + spendLimit == other.spendLimit && + spendLimitDuration == other.spendLimitDuration && + state == other.state && + type == other.type && + authRuleTokens == other.authRuleTokens && + cardholderCurrency == other.cardholderCurrency && + comment == other.comment && + digitalCardArtToken == other.digitalCardArtToken && + expMonth == other.expMonth && + expYear == other.expYear && + hostname == other.hostname && + memo == other.memo && + networkProgramToken == other.networkProgramToken && + pendingCommands == other.pendingCommands && + productId == other.productId && + replacementFor == other.replacementFor && + substatus == other.substatus && + cvv == other.cvv && + pan == other.pan && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountToken, cardProgramToken, created, funding, lastFour, pinStatus, spendLimit, spendLimitDuration, state, type, authRuleTokens, cardholderCurrency, comment, digitalCardArtToken, expMonth, expYear, hostname, memo, networkProgramToken, pendingCommands, productId, replacementFor, substatus, cvv, pan, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountToken, + cardProgramToken, + created, + funding, + lastFour, + pinStatus, + spendLimit, + spendLimitDuration, + state, + type, + authRuleTokens, + cardholderCurrency, + comment, + digitalCardArtToken, + expMonth, + expYear, + hostname, + memo, + networkProgramToken, + pendingCommands, + productId, + replacementFor, + substatus, + cvv, + pan, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPage.kt index 96f9f0fa4..a8bd2404a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPage.kt @@ -118,10 +118,13 @@ private constructor( return true } - return /* spotless:off */ other is CardAggregateBalanceListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is CardAggregateBalanceListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "CardAggregateBalanceListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPageAsync.kt index a99214a2f..c19e55975 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPageAsync.kt @@ -134,10 +134,14 @@ private constructor( return true } - return /* spotless:off */ other is CardAggregateBalanceListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is CardAggregateBalanceListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "CardAggregateBalanceListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPageResponse.kt index afb944a79..9db75fade 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListPageResponse.kt @@ -218,12 +218,13 @@ private constructor( return true } - return /* spotless:off */ other is CardAggregateBalanceListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardAggregateBalanceListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListParams.kt index d06e78d06..8ca1d6388 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAggregateBalanceListParams.kt @@ -205,10 +205,15 @@ private constructor( return true } - return /* spotless:off */ other is CardAggregateBalanceListParams && accountToken == other.accountToken && businessAccountToken == other.businessAccountToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardAggregateBalanceListParams && + accountToken == other.accountToken && + businessAccountToken == other.businessAccountToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, businessAccountToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(accountToken, businessAccountToken, additionalHeaders, additionalQueryParams) override fun toString() = "CardAggregateBalanceListParams{accountToken=$accountToken, businessAccountToken=$businessAccountToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPage.kt index 4d9586b28..560f9bcfb 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPage.kt @@ -116,10 +116,13 @@ private constructor( return true } - return /* spotless:off */ other is CardBalanceListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is CardBalanceListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "CardBalanceListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPageAsync.kt index ec7a82328..b9e6973bc 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPageAsync.kt @@ -130,10 +130,14 @@ private constructor( return true } - return /* spotless:off */ other is CardBalanceListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is CardBalanceListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "CardBalanceListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPageResponse.kt index 098837a55..b3ab1438a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListPageResponse.kt @@ -212,12 +212,13 @@ private constructor( return true } - return /* spotless:off */ other is CardBalanceListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardBalanceListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListParams.kt index 60d5f6b7a..093071b84 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardBalanceListParams.kt @@ -231,10 +231,22 @@ private constructor( return true } - return /* spotless:off */ other is CardBalanceListParams && cardToken == other.cardToken && balanceDate == other.balanceDate && lastTransactionEventToken == other.lastTransactionEventToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardBalanceListParams && + cardToken == other.cardToken && + balanceDate == other.balanceDate && + lastTransactionEventToken == other.lastTransactionEventToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, balanceDate, lastTransactionEventToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + cardToken, + balanceDate, + lastTransactionEventToken, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "CardBalanceListParams{cardToken=$cardToken, balanceDate=$balanceDate, lastTransactionEventToken=$lastTransactionEventToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardConvertPhysicalParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardConvertPhysicalParams.kt index 2d226d287..55698c12a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardConvertPhysicalParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardConvertPhysicalParams.kt @@ -686,12 +686,17 @@ private constructor( return true } - return /* spotless:off */ other is Body && shippingAddress == other.shippingAddress && carrier == other.carrier && productId == other.productId && shippingMethod == other.shippingMethod && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + shippingAddress == other.shippingAddress && + carrier == other.carrier && + productId == other.productId && + shippingMethod == other.shippingMethod && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(shippingAddress, carrier, productId, shippingMethod, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(shippingAddress, carrier, productId, shippingMethod, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -856,7 +861,7 @@ private constructor( return true } - return /* spotless:off */ other is ShippingMethod && value == other.value /* spotless:on */ + return other is ShippingMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -869,10 +874,15 @@ private constructor( return true } - return /* spotless:off */ other is CardConvertPhysicalParams && cardToken == other.cardToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardConvertPhysicalParams && + cardToken == other.cardToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "CardConvertPhysicalParams{cardToken=$cardToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardCreateParams.kt index 3290d9dc4..bb183ea5f 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardCreateParams.kt @@ -2011,13 +2011,54 @@ private constructor( return true } - return /* spotless:off */ other is Body && type == other.type && accountToken == other.accountToken && cardProgramToken == other.cardProgramToken && carrier == other.carrier && digitalCardArtToken == other.digitalCardArtToken && expMonth == other.expMonth && expYear == other.expYear && memo == other.memo && pin == other.pin && productId == other.productId && replacementAccountToken == other.replacementAccountToken && replacementComment == other.replacementComment && replacementFor == other.replacementFor && replacementSubstatus == other.replacementSubstatus && shippingAddress == other.shippingAddress && shippingMethod == other.shippingMethod && spendLimit == other.spendLimit && spendLimitDuration == other.spendLimitDuration && state == other.state && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + type == other.type && + accountToken == other.accountToken && + cardProgramToken == other.cardProgramToken && + carrier == other.carrier && + digitalCardArtToken == other.digitalCardArtToken && + expMonth == other.expMonth && + expYear == other.expYear && + memo == other.memo && + pin == other.pin && + productId == other.productId && + replacementAccountToken == other.replacementAccountToken && + replacementComment == other.replacementComment && + replacementFor == other.replacementFor && + replacementSubstatus == other.replacementSubstatus && + shippingAddress == other.shippingAddress && + shippingMethod == other.shippingMethod && + spendLimit == other.spendLimit && + spendLimitDuration == other.spendLimitDuration && + state == other.state && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + type, + accountToken, + cardProgramToken, + carrier, + digitalCardArtToken, + expMonth, + expYear, + memo, + pin, + productId, + replacementAccountToken, + replacementComment, + replacementFor, + replacementSubstatus, + shippingAddress, + shippingMethod, + spendLimit, + spendLimitDuration, + state, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(type, accountToken, cardProgramToken, carrier, digitalCardArtToken, expMonth, expYear, memo, pin, productId, replacementAccountToken, replacementComment, replacementFor, replacementSubstatus, shippingAddress, shippingMethod, spendLimit, spendLimitDuration, state, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -2179,7 +2220,7 @@ private constructor( return true } - return /* spotless:off */ other is Type && value == other.value /* spotless:on */ + return other is Type && value == other.value } override fun hashCode() = value.hashCode() @@ -2387,7 +2428,7 @@ private constructor( return true } - return /* spotless:off */ other is ReplacementSubstatus && value == other.value /* spotless:on */ + return other is ReplacementSubstatus && value == other.value } override fun hashCode() = value.hashCode() @@ -2552,7 +2593,7 @@ private constructor( return true } - return /* spotless:off */ other is ShippingMethod && value == other.value /* spotless:on */ + return other is ShippingMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -2682,7 +2723,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -2695,10 +2736,13 @@ private constructor( return true } - return /* spotless:off */ other is CardCreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardCreateParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "CardCreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardEmbedParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardEmbedParams.kt index d9e503668..eb8b269b7 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardEmbedParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardEmbedParams.kt @@ -227,10 +227,15 @@ private constructor( return true } - return /* spotless:off */ other is CardEmbedParams && embedRequest == other.embedRequest && hmac == other.hmac && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardEmbedParams && + embedRequest == other.embedRequest && + hmac == other.hmac && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(embedRequest, hmac, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(embedRequest, hmac, additionalHeaders, additionalQueryParams) override fun toString() = "CardEmbedParams{embedRequest=$embedRequest, hmac=$hmac, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPage.kt index 47dd72b2e..65510c37a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPage.kt @@ -120,10 +120,13 @@ private constructor( return true } - return /* spotless:off */ other is CardFinancialTransactionListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is CardFinancialTransactionListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "CardFinancialTransactionListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPageAsync.kt index 7ff7a34b9..0754d768e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPageAsync.kt @@ -135,10 +135,14 @@ private constructor( return true } - return /* spotless:off */ other is CardFinancialTransactionListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is CardFinancialTransactionListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "CardFinancialTransactionListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPageResponse.kt index 5f5197981..205fa4019 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListPageResponse.kt @@ -216,12 +216,13 @@ private constructor( return true } - return /* spotless:off */ other is CardFinancialTransactionListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardFinancialTransactionListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListParams.kt index cd1ea4fbf..2b2c085dc 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionListParams.kt @@ -432,7 +432,7 @@ private constructor( return true } - return /* spotless:off */ other is Category && value == other.value /* spotless:on */ + return other is Category && value == other.value } override fun hashCode() = value.hashCode() @@ -558,7 +558,7 @@ private constructor( return true } - return /* spotless:off */ other is Result && value == other.value /* spotless:on */ + return other is Result && value == other.value } override fun hashCode() = value.hashCode() @@ -708,7 +708,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -721,10 +721,32 @@ private constructor( return true } - return /* spotless:off */ other is CardFinancialTransactionListParams && cardToken == other.cardToken && begin == other.begin && category == other.category && end == other.end && endingBefore == other.endingBefore && result == other.result && startingAfter == other.startingAfter && status == other.status && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardFinancialTransactionListParams && + cardToken == other.cardToken && + begin == other.begin && + category == other.category && + end == other.end && + endingBefore == other.endingBefore && + result == other.result && + startingAfter == other.startingAfter && + status == other.status && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, begin, category, end, endingBefore, result, startingAfter, status, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + cardToken, + begin, + category, + end, + endingBefore, + result, + startingAfter, + status, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "CardFinancialTransactionListParams{cardToken=$cardToken, begin=$begin, category=$category, end=$end, endingBefore=$endingBefore, result=$result, startingAfter=$startingAfter, status=$status, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionRetrieveParams.kt index cca1d191c..7adbca63b 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardFinancialTransactionRetrieveParams.kt @@ -214,10 +214,15 @@ private constructor( return true } - return /* spotless:off */ other is CardFinancialTransactionRetrieveParams && cardToken == other.cardToken && financialTransactionToken == other.financialTransactionToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardFinancialTransactionRetrieveParams && + cardToken == other.cardToken && + financialTransactionToken == other.financialTransactionToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, financialTransactionToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(cardToken, financialTransactionToken, additionalHeaders, additionalQueryParams) override fun toString() = "CardFinancialTransactionRetrieveParams{cardToken=$cardToken, financialTransactionToken=$financialTransactionToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPage.kt index 879e70ec4..8712f1a1c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPage.kt @@ -119,10 +119,13 @@ private constructor( return true } - return /* spotless:off */ other is CardListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is CardListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "CardListPage{service=$service, params=$params, response=$response}" } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPageAsync.kt index 05c62bdc8..7beb707b2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPageAsync.kt @@ -131,10 +131,14 @@ private constructor( return true } - return /* spotless:off */ other is CardListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is CardListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "CardListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPageResponse.kt index 703eced9f..5d6f4f6da 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListPageResponse.kt @@ -210,12 +210,13 @@ private constructor( return true } - return /* spotless:off */ other is CardListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListParams.kt index e9385c330..750ff0d53 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardListParams.kt @@ -449,7 +449,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -462,10 +462,32 @@ private constructor( return true } - return /* spotless:off */ other is CardListParams && accountToken == other.accountToken && begin == other.begin && end == other.end && endingBefore == other.endingBefore && memo == other.memo && pageSize == other.pageSize && startingAfter == other.startingAfter && state == other.state && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardListParams && + accountToken == other.accountToken && + begin == other.begin && + end == other.end && + endingBefore == other.endingBefore && + memo == other.memo && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + state == other.state && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, begin, end, endingBefore, memo, pageSize, startingAfter, state, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + accountToken, + begin, + end, + endingBefore, + memo, + pageSize, + startingAfter, + state, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "CardListParams{accountToken=$accountToken, begin=$begin, end=$end, endingBefore=$endingBefore, memo=$memo, pageSize=$pageSize, startingAfter=$startingAfter, state=$state, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgram.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgram.kt index 41ad2b4dd..ec4cc19f6 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgram.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgram.kt @@ -480,12 +480,31 @@ private constructor( return true } - return /* spotless:off */ other is CardProgram && token == other.token && created == other.created && name == other.name && panRangeEnd == other.panRangeEnd && panRangeStart == other.panRangeStart && accountLevelManagementEnabled == other.accountLevelManagementEnabled && cardholderCurrency == other.cardholderCurrency && settlementCurrencies == other.settlementCurrencies && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardProgram && + token == other.token && + created == other.created && + name == other.name && + panRangeEnd == other.panRangeEnd && + panRangeStart == other.panRangeStart && + accountLevelManagementEnabled == other.accountLevelManagementEnabled && + cardholderCurrency == other.cardholderCurrency && + settlementCurrencies == other.settlementCurrencies && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, created, name, panRangeEnd, panRangeStart, accountLevelManagementEnabled, cardholderCurrency, settlementCurrencies, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + created, + name, + panRangeEnd, + panRangeStart, + accountLevelManagementEnabled, + cardholderCurrency, + settlementCurrencies, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPage.kt index 9aaebc5d1..4f7b00224 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPage.kt @@ -119,10 +119,13 @@ private constructor( return true } - return /* spotless:off */ other is CardProgramListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is CardProgramListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "CardProgramListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPageAsync.kt index 72782c3db..77856b9cd 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPageAsync.kt @@ -132,10 +132,14 @@ private constructor( return true } - return /* spotless:off */ other is CardProgramListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is CardProgramListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "CardProgramListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPageResponse.kt index 72a4bd4ff..c7a253748 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListPageResponse.kt @@ -210,12 +210,13 @@ private constructor( return true } - return /* spotless:off */ other is CardProgramListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardProgramListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListParams.kt index 6397a895a..fe9975586 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramListParams.kt @@ -230,10 +230,22 @@ private constructor( return true } - return /* spotless:off */ other is CardProgramListParams && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardProgramListParams && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(endingBefore, pageSize, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + endingBefore, + pageSize, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "CardProgramListParams{endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramRetrieveParams.kt index 10e9b47e0..bb3728290 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProgramRetrieveParams.kt @@ -185,10 +185,14 @@ private constructor( return true } - return /* spotless:off */ other is CardProgramRetrieveParams && cardProgramToken == other.cardProgramToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardProgramRetrieveParams && + cardProgramToken == other.cardProgramToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardProgramToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(cardProgramToken, additionalHeaders, additionalQueryParams) override fun toString() = "CardProgramRetrieveParams{cardProgramToken=$cardProgramToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProvisionParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProvisionParams.kt index 1e6481746..8440b339c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProvisionParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProvisionParams.kt @@ -807,13 +807,28 @@ private constructor( return true } - return /* spotless:off */ other is Body && certificate == other.certificate && clientDeviceId == other.clientDeviceId && clientWalletAccountId == other.clientWalletAccountId && digitalWallet == other.digitalWallet && nonce == other.nonce && nonceSignature == other.nonceSignature && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + certificate == other.certificate && + clientDeviceId == other.clientDeviceId && + clientWalletAccountId == other.clientWalletAccountId && + digitalWallet == other.digitalWallet && + nonce == other.nonce && + nonceSignature == other.nonceSignature && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + certificate, + clientDeviceId, + clientWalletAccountId, + digitalWallet, + nonce, + nonceSignature, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(certificate, clientDeviceId, clientWalletAccountId, digitalWallet, nonce, nonceSignature, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -948,7 +963,7 @@ private constructor( return true } - return /* spotless:off */ other is DigitalWallet && value == other.value /* spotless:on */ + return other is DigitalWallet && value == other.value } override fun hashCode() = value.hashCode() @@ -961,10 +976,15 @@ private constructor( return true } - return /* spotless:off */ other is CardProvisionParams && cardToken == other.cardToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardProvisionParams && + cardToken == other.cardToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "CardProvisionParams{cardToken=$cardToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProvisionResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProvisionResponse.kt index b39d4b48b..fe84a561e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProvisionResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardProvisionResponse.kt @@ -149,12 +149,12 @@ private constructor( return true } - return /* spotless:off */ other is CardProvisionResponse && provisioningPayload == other.provisioningPayload && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardProvisionResponse && + provisioningPayload == other.provisioningPayload && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(provisioningPayload, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardReissueParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardReissueParams.kt index f9291f903..223a468fd 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardReissueParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardReissueParams.kt @@ -656,12 +656,17 @@ private constructor( return true } - return /* spotless:off */ other is Body && carrier == other.carrier && productId == other.productId && shippingAddress == other.shippingAddress && shippingMethod == other.shippingMethod && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + carrier == other.carrier && + productId == other.productId && + shippingAddress == other.shippingAddress && + shippingMethod == other.shippingMethod && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(carrier, productId, shippingAddress, shippingMethod, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(carrier, productId, shippingAddress, shippingMethod, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -826,7 +831,7 @@ private constructor( return true } - return /* spotless:off */ other is ShippingMethod && value == other.value /* spotless:on */ + return other is ShippingMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -839,10 +844,15 @@ private constructor( return true } - return /* spotless:off */ other is CardReissueParams && cardToken == other.cardToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardReissueParams && + cardToken == other.cardToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "CardReissueParams{cardToken=$cardToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRenewParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRenewParams.kt index 90e98e9a4..7f7a5d609 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRenewParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRenewParams.kt @@ -833,12 +833,27 @@ private constructor( return true } - return /* spotless:off */ other is Body && shippingAddress == other.shippingAddress && carrier == other.carrier && expMonth == other.expMonth && expYear == other.expYear && productId == other.productId && shippingMethod == other.shippingMethod && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + shippingAddress == other.shippingAddress && + carrier == other.carrier && + expMonth == other.expMonth && + expYear == other.expYear && + productId == other.productId && + shippingMethod == other.shippingMethod && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(shippingAddress, carrier, expMonth, expYear, productId, shippingMethod, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + shippingAddress, + carrier, + expMonth, + expYear, + productId, + shippingMethod, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1003,7 +1018,7 @@ private constructor( return true } - return /* spotless:off */ other is ShippingMethod && value == other.value /* spotless:on */ + return other is ShippingMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -1016,10 +1031,15 @@ private constructor( return true } - return /* spotless:off */ other is CardRenewParams && cardToken == other.cardToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardRenewParams && + cardToken == other.cardToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "CardRenewParams{cardToken=$cardToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRetrieveParams.kt index 87e17ed9e..a1e7aa779 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRetrieveParams.kt @@ -176,10 +176,13 @@ private constructor( return true } - return /* spotless:off */ other is CardRetrieveParams && cardToken == other.cardToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardRetrieveParams && + cardToken == other.cardToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(cardToken, additionalHeaders, additionalQueryParams) override fun toString() = "CardRetrieveParams{cardToken=$cardToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRetrieveSpendLimitsParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRetrieveSpendLimitsParams.kt index 3f903d386..7931123d9 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRetrieveSpendLimitsParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardRetrieveSpendLimitsParams.kt @@ -188,10 +188,13 @@ private constructor( return true } - return /* spotless:off */ other is CardRetrieveSpendLimitsParams && cardToken == other.cardToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardRetrieveSpendLimitsParams && + cardToken == other.cardToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(cardToken, additionalHeaders, additionalQueryParams) override fun toString() = "CardRetrieveSpendLimitsParams{cardToken=$cardToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardSearchByPanParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardSearchByPanParams.kt index c76208df6..1048750ec 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardSearchByPanParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardSearchByPanParams.kt @@ -387,12 +387,12 @@ private constructor( return true } - return /* spotless:off */ other is Body && pan == other.pan && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + pan == other.pan && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(pan, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -404,10 +404,13 @@ private constructor( return true } - return /* spotless:off */ other is CardSearchByPanParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardSearchByPanParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "CardSearchByPanParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardSpendLimits.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardSpendLimits.kt index 6eb2ce85e..e4592f872 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardSpendLimits.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardSpendLimits.kt @@ -444,12 +444,16 @@ private constructor( return true } - return /* spotless:off */ other is AvailableSpendLimit && annually == other.annually && forever == other.forever && monthly == other.monthly && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AvailableSpendLimit && + annually == other.annually && + forever == other.forever && + monthly == other.monthly && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(annually, forever, monthly, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(annually, forever, monthly, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -653,12 +657,16 @@ private constructor( return true } - return /* spotless:off */ other is SpendLimit && annually == other.annually && forever == other.forever && monthly == other.monthly && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SpendLimit && + annually == other.annually && + forever == other.forever && + monthly == other.monthly && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(annually, forever, monthly, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(annually, forever, monthly, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -874,12 +882,16 @@ private constructor( return true } - return /* spotless:off */ other is SpendVelocity && annually == other.annually && forever == other.forever && monthly == other.monthly && additionalProperties == other.additionalProperties /* spotless:on */ + return other is SpendVelocity && + annually == other.annually && + forever == other.forever && + monthly == other.monthly && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(annually, forever, monthly, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(annually, forever, monthly, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -892,12 +904,16 @@ private constructor( return true } - return /* spotless:off */ other is CardSpendLimits && availableSpendLimit == other.availableSpendLimit && spendLimit == other.spendLimit && spendVelocity == other.spendVelocity && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardSpendLimits && + availableSpendLimit == other.availableSpendLimit && + spendLimit == other.spendLimit && + spendVelocity == other.spendVelocity && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(availableSpendLimit, spendLimit, spendVelocity, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(availableSpendLimit, spendLimit, spendVelocity, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardUpdateParams.kt index 9a2a5a324..692cabbc9 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardUpdateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardUpdateParams.kt @@ -1210,12 +1210,35 @@ private constructor( return true } - return /* spotless:off */ other is Body && comment == other.comment && digitalCardArtToken == other.digitalCardArtToken && memo == other.memo && networkProgramToken == other.networkProgramToken && pin == other.pin && pinStatus == other.pinStatus && spendLimit == other.spendLimit && spendLimitDuration == other.spendLimitDuration && state == other.state && substatus == other.substatus && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + comment == other.comment && + digitalCardArtToken == other.digitalCardArtToken && + memo == other.memo && + networkProgramToken == other.networkProgramToken && + pin == other.pin && + pinStatus == other.pinStatus && + spendLimit == other.spendLimit && + spendLimitDuration == other.spendLimitDuration && + state == other.state && + substatus == other.substatus && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(comment, digitalCardArtToken, memo, networkProgramToken, pin, pinStatus, spendLimit, spendLimitDuration, state, substatus, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + comment, + digitalCardArtToken, + memo, + networkProgramToken, + pin, + pinStatus, + spendLimit, + spendLimitDuration, + state, + substatus, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1340,7 +1363,7 @@ private constructor( return true } - return /* spotless:off */ other is PinStatus && value == other.value /* spotless:on */ + return other is PinStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1477,7 +1500,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1681,7 +1704,7 @@ private constructor( return true } - return /* spotless:off */ other is Substatus && value == other.value /* spotless:on */ + return other is Substatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1694,10 +1717,15 @@ private constructor( return true } - return /* spotless:off */ other is CardUpdateParams && cardToken == other.cardToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardUpdateParams && + cardToken == other.cardToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "CardUpdateParams{cardToken=$cardToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardWebProvisionParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardWebProvisionParams.kt index a0e7a6848..831548514 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardWebProvisionParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardWebProvisionParams.kt @@ -396,12 +396,12 @@ private constructor( return true } - return /* spotless:off */ other is Body && digitalWallet == other.digitalWallet && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + digitalWallet == other.digitalWallet && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(digitalWallet, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -525,7 +525,7 @@ private constructor( return true } - return /* spotless:off */ other is DigitalWallet && value == other.value /* spotless:on */ + return other is DigitalWallet && value == other.value } override fun hashCode() = value.hashCode() @@ -538,10 +538,15 @@ private constructor( return true } - return /* spotless:off */ other is CardWebProvisionParams && cardToken == other.cardToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CardWebProvisionParams && + cardToken == other.cardToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(cardToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "CardWebProvisionParams{cardToken=$cardToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardWebProvisionResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardWebProvisionResponse.kt index a82a4c54c..c2e12b4b9 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardWebProvisionResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CardWebProvisionResponse.kt @@ -568,12 +568,12 @@ private constructor( return true } - return /* spotless:off */ other is WebPushProvisioningResponseHeader && kid == other.kid && additionalProperties == other.additionalProperties /* spotless:on */ + return other is WebPushProvisioningResponseHeader && + kid == other.kid && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(kid, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -586,12 +586,17 @@ private constructor( return true } - return /* spotless:off */ other is WebPushProvisioningResponseJws && header == other.header && payload == other.payload && protected_ == other.protected_ && signature == other.signature && additionalProperties == other.additionalProperties /* spotless:on */ + return other is WebPushProvisioningResponseJws && + header == other.header && + payload == other.payload && + protected_ == other.protected_ && + signature == other.signature && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(header, payload, protected_, signature, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(header, payload, protected_, signature, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -604,12 +609,13 @@ private constructor( return true } - return /* spotless:off */ other is CardWebProvisionResponse && jws == other.jws && state == other.state && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CardWebProvisionResponse && + jws == other.jws && + state == other.state && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(jws, state, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Carrier.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Carrier.kt index dee8eb9df..7569ddfa8 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Carrier.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Carrier.kt @@ -141,12 +141,12 @@ private constructor( return true } - return /* spotless:off */ other is Carrier && qrCodeUrl == other.qrCodeUrl && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Carrier && + qrCodeUrl == other.qrCodeUrl && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(qrCodeUrl, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ChallengeResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ChallengeResponse.kt index 1070a9537..dfe9dd7e4 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ChallengeResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ChallengeResponse.kt @@ -210,12 +210,15 @@ private constructor( return true } - return /* spotless:off */ other is ChallengeResponse && token == other.token && challengeResponse == other.challengeResponse && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ChallengeResponse && + token == other.token && + challengeResponse == other.challengeResponse && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, challengeResponse, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(token, challengeResponse, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ChallengeResult.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ChallengeResult.kt index 0b719a058..58a7296b6 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ChallengeResult.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ChallengeResult.kt @@ -125,7 +125,7 @@ class ChallengeResult @JsonCreator private constructor(private val value: JsonFi return true } - return /* spotless:off */ other is ChallengeResult && value == other.value /* spotless:on */ + return other is ChallengeResult && value == other.value } override fun hashCode() = value.hashCode() diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ClientApiStatusParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ClientApiStatusParams.kt index e5abf0be2..55f948d24 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ClientApiStatusParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ClientApiStatusParams.kt @@ -158,10 +158,12 @@ private constructor( return true } - return /* spotless:off */ other is ClientApiStatusParams && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ClientApiStatusParams && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(additionalHeaders, additionalQueryParams) override fun toString() = "ClientApiStatusParams{additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Conditional3dsActionParameters.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Conditional3dsActionParameters.kt index 813ceeda4..0186d8283 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Conditional3dsActionParameters.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Conditional3dsActionParameters.kt @@ -342,7 +342,7 @@ private constructor( return true } - return /* spotless:off */ other is Action && value == other.value /* spotless:on */ + return other is Action && value == other.value } override fun hashCode() = value.hashCode() @@ -776,7 +776,7 @@ private constructor( return true } - return /* spotless:off */ other is Attribute && value == other.value /* spotless:on */ + return other is Attribute && value == other.value } override fun hashCode() = value.hashCode() @@ -932,7 +932,7 @@ private constructor( return true } - return /* spotless:off */ other is Operation && value == other.value /* spotless:on */ + return other is Operation && value == other.value } override fun hashCode() = value.hashCode() @@ -1038,10 +1038,13 @@ private constructor( return true } - return /* spotless:off */ other is Value && regex == other.regex && number == other.number && listOfStrings == other.listOfStrings /* spotless:on */ + return other is Value && + regex == other.regex && + number == other.number && + listOfStrings == other.listOfStrings } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(regex, number, listOfStrings) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(regex, number, listOfStrings) override fun toString(): String = when { @@ -1151,12 +1154,16 @@ private constructor( return true } - return /* spotless:off */ other is Condition && attribute == other.attribute && operation == other.operation && value == other.value && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Condition && + attribute == other.attribute && + operation == other.operation && + value == other.value && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(attribute, operation, value, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(attribute, operation, value, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1169,12 +1176,13 @@ private constructor( return true } - return /* spotless:off */ other is Conditional3dsActionParameters && action == other.action && conditions == other.conditions && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Conditional3dsActionParameters && + action == other.action && + conditions == other.conditions && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(action, conditions, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ConditionalAttribute.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ConditionalAttribute.kt index f484f4cbd..bc811244c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ConditionalAttribute.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ConditionalAttribute.kt @@ -248,7 +248,7 @@ class ConditionalAttribute @JsonCreator private constructor(private val value: J return true } - return /* spotless:off */ other is ConditionalAttribute && value == other.value /* spotless:on */ + return other is ConditionalAttribute && value == other.value } override fun hashCode() = value.hashCode() diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ConditionalBlockParameters.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ConditionalBlockParameters.kt index 274d323a0..5c0ca3596 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ConditionalBlockParameters.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ConditionalBlockParameters.kt @@ -179,12 +179,12 @@ private constructor( return true } - return /* spotless:off */ other is ConditionalBlockParameters && conditions == other.conditions && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ConditionalBlockParameters && + conditions == other.conditions && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(conditions, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductExtendedCreditRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductExtendedCreditRetrieveParams.kt index f74c0cb2e..8e0ac9556 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductExtendedCreditRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductExtendedCreditRetrieveParams.kt @@ -192,10 +192,14 @@ private constructor( return true } - return /* spotless:off */ other is CreditProductExtendedCreditRetrieveParams && creditProductToken == other.creditProductToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CreditProductExtendedCreditRetrieveParams && + creditProductToken == other.creditProductToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(creditProductToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(creditProductToken, additionalHeaders, additionalQueryParams) override fun toString() = "CreditProductExtendedCreditRetrieveParams{creditProductToken=$creditProductToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductPrimeRateCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductPrimeRateCreateParams.kt index c92ff8093..b7706f31a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductPrimeRateCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductPrimeRateCreateParams.kt @@ -493,12 +493,15 @@ private constructor( return true } - return /* spotless:off */ other is InterestRate && effectiveDate == other.effectiveDate && rate == other.rate && additionalProperties == other.additionalProperties /* spotless:on */ + return other is InterestRate && + effectiveDate == other.effectiveDate && + rate == other.rate && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(effectiveDate, rate, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(effectiveDate, rate, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -511,10 +514,15 @@ private constructor( return true } - return /* spotless:off */ other is CreditProductPrimeRateCreateParams && creditProductToken == other.creditProductToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CreditProductPrimeRateCreateParams && + creditProductToken == other.creditProductToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(creditProductToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(creditProductToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "CreditProductPrimeRateCreateParams{creditProductToken=$creditProductToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductPrimeRateRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductPrimeRateRetrieveParams.kt index 95aa5843a..3fec6f281 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductPrimeRateRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/CreditProductPrimeRateRetrieveParams.kt @@ -228,10 +228,22 @@ private constructor( return true } - return /* spotless:off */ other is CreditProductPrimeRateRetrieveParams && creditProductToken == other.creditProductToken && endingBefore == other.endingBefore && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is CreditProductPrimeRateRetrieveParams && + creditProductToken == other.creditProductToken && + endingBefore == other.endingBefore && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(creditProductToken, endingBefore, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + creditProductToken, + endingBefore, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "CreditProductPrimeRateRetrieveParams{creditProductToken=$creditProductToken, endingBefore=$endingBefore, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DecisioningRetrieveSecretResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DecisioningRetrieveSecretResponse.kt index 81e95374f..3ae99cf30 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DecisioningRetrieveSecretResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DecisioningRetrieveSecretResponse.kt @@ -146,12 +146,12 @@ private constructor( return true } - return /* spotless:off */ other is DecisioningRetrieveSecretResponse && secret == other.secret && additionalProperties == other.additionalProperties /* spotless:on */ + return other is DecisioningRetrieveSecretResponse && + secret == other.secret && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(secret, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArt.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArt.kt index 4a35a5558..568926234 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArt.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArt.kt @@ -522,7 +522,7 @@ private constructor( return true } - return /* spotless:off */ other is Network && value == other.value /* spotless:on */ + return other is Network && value == other.value } override fun hashCode() = value.hashCode() @@ -535,12 +535,29 @@ private constructor( return true } - return /* spotless:off */ other is DigitalCardArt && token == other.token && cardProgramToken == other.cardProgramToken && created == other.created && description == other.description && isEnabled == other.isEnabled && network == other.network && isCardProgramDefault == other.isCardProgramDefault && additionalProperties == other.additionalProperties /* spotless:on */ + return other is DigitalCardArt && + token == other.token && + cardProgramToken == other.cardProgramToken && + created == other.created && + description == other.description && + isEnabled == other.isEnabled && + network == other.network && + isCardProgramDefault == other.isCardProgramDefault && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, cardProgramToken, created, description, isEnabled, network, isCardProgramDefault, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + cardProgramToken, + created, + description, + isEnabled, + network, + isCardProgramDefault, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPage.kt index 31ba7b014..5f0220b29 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPage.kt @@ -120,10 +120,13 @@ private constructor( return true } - return /* spotless:off */ other is DigitalCardArtListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is DigitalCardArtListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "DigitalCardArtListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPageAsync.kt index 144943ce8..1939798d6 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPageAsync.kt @@ -134,10 +134,14 @@ private constructor( return true } - return /* spotless:off */ other is DigitalCardArtListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is DigitalCardArtListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "DigitalCardArtListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPageResponse.kt index 086aaf1bd..86b57bedc 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListPageResponse.kt @@ -214,12 +214,13 @@ private constructor( return true } - return /* spotless:off */ other is DigitalCardArtListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is DigitalCardArtListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListParams.kt index 87675fa6c..6186935f9 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtListParams.kt @@ -230,10 +230,22 @@ private constructor( return true } - return /* spotless:off */ other is DigitalCardArtListParams && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is DigitalCardArtListParams && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(endingBefore, pageSize, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + endingBefore, + pageSize, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "DigitalCardArtListParams{endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtRetrieveParams.kt index e33208f06..90a66eb44 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DigitalCardArtRetrieveParams.kt @@ -187,10 +187,14 @@ private constructor( return true } - return /* spotless:off */ other is DigitalCardArtRetrieveParams && digitalCardArtToken == other.digitalCardArtToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is DigitalCardArtRetrieveParams && + digitalCardArtToken == other.digitalCardArtToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(digitalCardArtToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(digitalCardArtToken, additionalHeaders, additionalQueryParams) override fun toString() = "DigitalCardArtRetrieveParams{digitalCardArtToken=$digitalCardArtToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Dispute.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Dispute.kt index 14277dbb3..621b2f77c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Dispute.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Dispute.kt @@ -1257,7 +1257,7 @@ private constructor( return true } - return /* spotless:off */ other is Reason && value == other.value /* spotless:on */ + return other is Reason && value == other.value } override fun hashCode() = value.hashCode() @@ -1498,7 +1498,7 @@ private constructor( return true } - return /* spotless:off */ other is ResolutionReason && value == other.value /* spotless:on */ + return other is ResolutionReason && value == other.value } override fun hashCode() = value.hashCode() @@ -1670,7 +1670,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -1683,12 +1683,51 @@ private constructor( return true } - return /* spotless:off */ other is Dispute && token == other.token && amount == other.amount && arbitrationDate == other.arbitrationDate && created == other.created && customerFiledDate == other.customerFiledDate && customerNote == other.customerNote && networkClaimIds == other.networkClaimIds && networkFiledDate == other.networkFiledDate && networkReasonCode == other.networkReasonCode && prearbitrationDate == other.prearbitrationDate && primaryClaimId == other.primaryClaimId && reason == other.reason && representmentDate == other.representmentDate && resolutionDate == other.resolutionDate && resolutionNote == other.resolutionNote && resolutionReason == other.resolutionReason && status == other.status && transactionToken == other.transactionToken && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Dispute && + token == other.token && + amount == other.amount && + arbitrationDate == other.arbitrationDate && + created == other.created && + customerFiledDate == other.customerFiledDate && + customerNote == other.customerNote && + networkClaimIds == other.networkClaimIds && + networkFiledDate == other.networkFiledDate && + networkReasonCode == other.networkReasonCode && + prearbitrationDate == other.prearbitrationDate && + primaryClaimId == other.primaryClaimId && + reason == other.reason && + representmentDate == other.representmentDate && + resolutionDate == other.resolutionDate && + resolutionNote == other.resolutionNote && + resolutionReason == other.resolutionReason && + status == other.status && + transactionToken == other.transactionToken && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, amount, arbitrationDate, created, customerFiledDate, customerNote, networkClaimIds, networkFiledDate, networkReasonCode, prearbitrationDate, primaryClaimId, reason, representmentDate, resolutionDate, resolutionNote, resolutionReason, status, transactionToken, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + amount, + arbitrationDate, + created, + customerFiledDate, + customerNote, + networkClaimIds, + networkFiledDate, + networkReasonCode, + prearbitrationDate, + primaryClaimId, + reason, + representmentDate, + resolutionDate, + resolutionNote, + resolutionReason, + status, + transactionToken, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeCreateParams.kt index a21ebe269..f96b18827 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeCreateParams.kt @@ -684,13 +684,26 @@ private constructor( return true } - return /* spotless:off */ other is Body && amount == other.amount && reason == other.reason && transactionToken == other.transactionToken && customerFiledDate == other.customerFiledDate && customerNote == other.customerNote && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + amount == other.amount && + reason == other.reason && + transactionToken == other.transactionToken && + customerFiledDate == other.customerFiledDate && + customerNote == other.customerNote && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + amount, + reason, + transactionToken, + customerFiledDate, + customerNote, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(amount, reason, transactionToken, customerFiledDate, customerNote, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -888,7 +901,7 @@ private constructor( return true } - return /* spotless:off */ other is Reason && value == other.value /* spotless:on */ + return other is Reason && value == other.value } override fun hashCode() = value.hashCode() @@ -901,10 +914,13 @@ private constructor( return true } - return /* spotless:off */ other is DisputeCreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is DisputeCreateParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "DisputeCreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeDeleteEvidenceParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeDeleteEvidenceParams.kt index d9bd745a8..5733ffeb3 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeDeleteEvidenceParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeDeleteEvidenceParams.kt @@ -241,10 +241,22 @@ private constructor( return true } - return /* spotless:off */ other is DisputeDeleteEvidenceParams && disputeToken == other.disputeToken && evidenceToken == other.evidenceToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is DisputeDeleteEvidenceParams && + disputeToken == other.disputeToken && + evidenceToken == other.evidenceToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(disputeToken, evidenceToken, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + disputeToken, + evidenceToken, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "DisputeDeleteEvidenceParams{disputeToken=$disputeToken, evidenceToken=$evidenceToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeDeleteParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeDeleteParams.kt index 0f660af3b..ff1ddcb82 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeDeleteParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeDeleteParams.kt @@ -214,10 +214,20 @@ private constructor( return true } - return /* spotless:off */ other is DisputeDeleteParams && disputeToken == other.disputeToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is DisputeDeleteParams && + disputeToken == other.disputeToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(disputeToken, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + disputeToken, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "DisputeDeleteParams{disputeToken=$disputeToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeEvidence.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeEvidence.kt index c3ed179d4..e05c29c1e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeEvidence.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeEvidence.kt @@ -557,7 +557,7 @@ private constructor( return true } - return /* spotless:off */ other is UploadStatus && value == other.value /* spotless:on */ + return other is UploadStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -570,12 +570,29 @@ private constructor( return true } - return /* spotless:off */ other is DisputeEvidence && token == other.token && created == other.created && disputeToken == other.disputeToken && uploadStatus == other.uploadStatus && downloadUrl == other.downloadUrl && filename == other.filename && uploadUrl == other.uploadUrl && additionalProperties == other.additionalProperties /* spotless:on */ + return other is DisputeEvidence && + token == other.token && + created == other.created && + disputeToken == other.disputeToken && + uploadStatus == other.uploadStatus && + downloadUrl == other.downloadUrl && + filename == other.filename && + uploadUrl == other.uploadUrl && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, created, disputeToken, uploadStatus, downloadUrl, filename, uploadUrl, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + created, + disputeToken, + uploadStatus, + downloadUrl, + filename, + uploadUrl, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeInitiateEvidenceUploadParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeInitiateEvidenceUploadParams.kt index c1e6695dc..d247b8fc3 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeInitiateEvidenceUploadParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeInitiateEvidenceUploadParams.kt @@ -385,12 +385,12 @@ private constructor( return true } - return /* spotless:off */ other is Body && filename == other.filename && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + filename == other.filename && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(filename, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -403,10 +403,15 @@ private constructor( return true } - return /* spotless:off */ other is DisputeInitiateEvidenceUploadParams && disputeToken == other.disputeToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is DisputeInitiateEvidenceUploadParams && + disputeToken == other.disputeToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(disputeToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(disputeToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "DisputeInitiateEvidenceUploadParams{disputeToken=$disputeToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPage.kt index b9f41c088..3418c2256 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPage.kt @@ -122,10 +122,13 @@ private constructor( return true } - return /* spotless:off */ other is DisputeListEvidencesPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is DisputeListEvidencesPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "DisputeListEvidencesPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPageAsync.kt index 3bf998e14..fe0544e28 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPageAsync.kt @@ -137,10 +137,14 @@ private constructor( return true } - return /* spotless:off */ other is DisputeListEvidencesPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is DisputeListEvidencesPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "DisputeListEvidencesPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPageResponse.kt index 8de2b9e10..0d3306a67 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesPageResponse.kt @@ -215,12 +215,13 @@ private constructor( return true } - return /* spotless:off */ other is DisputeListEvidencesPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is DisputeListEvidencesPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesParams.kt index 1dc813fca..19aa84087 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListEvidencesParams.kt @@ -291,10 +291,28 @@ private constructor( return true } - return /* spotless:off */ other is DisputeListEvidencesParams && disputeToken == other.disputeToken && begin == other.begin && end == other.end && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is DisputeListEvidencesParams && + disputeToken == other.disputeToken && + begin == other.begin && + end == other.end && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(disputeToken, begin, end, endingBefore, pageSize, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + disputeToken, + begin, + end, + endingBefore, + pageSize, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "DisputeListEvidencesParams{disputeToken=$disputeToken, begin=$begin, end=$end, endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPage.kt index f154b6867..4de6619a6 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPage.kt @@ -119,10 +119,13 @@ private constructor( return true } - return /* spotless:off */ other is DisputeListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is DisputeListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "DisputeListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPageAsync.kt index 37029d568..b4ff65c7d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPageAsync.kt @@ -132,10 +132,14 @@ private constructor( return true } - return /* spotless:off */ other is DisputeListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is DisputeListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "DisputeListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPageResponse.kt index 02d9b021d..ea55c1de0 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListPageResponse.kt @@ -210,12 +210,13 @@ private constructor( return true } - return /* spotless:off */ other is DisputeListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is DisputeListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListParams.kt index afa3f25a0..8bf2d5e4a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeListParams.kt @@ -467,7 +467,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -480,10 +480,30 @@ private constructor( return true } - return /* spotless:off */ other is DisputeListParams && begin == other.begin && end == other.end && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && status == other.status && transactionTokens == other.transactionTokens && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is DisputeListParams && + begin == other.begin && + end == other.end && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + status == other.status && + transactionTokens == other.transactionTokens && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(begin, end, endingBefore, pageSize, startingAfter, status, transactionTokens, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + begin, + end, + endingBefore, + pageSize, + startingAfter, + status, + transactionTokens, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "DisputeListParams{begin=$begin, end=$end, endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, status=$status, transactionTokens=$transactionTokens, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeRetrieveEvidenceParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeRetrieveEvidenceParams.kt index 4ecc28043..ea62fb06d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeRetrieveEvidenceParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeRetrieveEvidenceParams.kt @@ -204,10 +204,15 @@ private constructor( return true } - return /* spotless:off */ other is DisputeRetrieveEvidenceParams && disputeToken == other.disputeToken && evidenceToken == other.evidenceToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is DisputeRetrieveEvidenceParams && + disputeToken == other.disputeToken && + evidenceToken == other.evidenceToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(disputeToken, evidenceToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(disputeToken, evidenceToken, additionalHeaders, additionalQueryParams) override fun toString() = "DisputeRetrieveEvidenceParams{disputeToken=$disputeToken, evidenceToken=$evidenceToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeRetrieveParams.kt index 879445e97..186d75b9d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeRetrieveParams.kt @@ -180,10 +180,14 @@ private constructor( return true } - return /* spotless:off */ other is DisputeRetrieveParams && disputeToken == other.disputeToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is DisputeRetrieveParams && + disputeToken == other.disputeToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(disputeToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(disputeToken, additionalHeaders, additionalQueryParams) override fun toString() = "DisputeRetrieveParams{disputeToken=$disputeToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeUpdateParams.kt index 04bcf8bf7..bba9b4e69 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeUpdateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/DisputeUpdateParams.kt @@ -590,12 +590,17 @@ private constructor( return true } - return /* spotless:off */ other is Body && amount == other.amount && customerFiledDate == other.customerFiledDate && customerNote == other.customerNote && reason == other.reason && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + amount == other.amount && + customerFiledDate == other.customerFiledDate && + customerNote == other.customerNote && + reason == other.reason && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(amount, customerFiledDate, customerNote, reason, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(amount, customerFiledDate, customerNote, reason, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -794,7 +799,7 @@ private constructor( return true } - return /* spotless:off */ other is Reason && value == other.value /* spotless:on */ + return other is Reason && value == other.value } override fun hashCode() = value.hashCode() @@ -807,10 +812,15 @@ private constructor( return true } - return /* spotless:off */ other is DisputeUpdateParams && disputeToken == other.disputeToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is DisputeUpdateParams && + disputeToken == other.disputeToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(disputeToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(disputeToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "DisputeUpdateParams{disputeToken=$disputeToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Document.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Document.kt index 0529815b1..c3e7bf801 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Document.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Document.kt @@ -579,7 +579,7 @@ private constructor( return true } - return /* spotless:off */ other is DocumentType && value == other.value /* spotless:on */ + return other is DocumentType && value == other.value } override fun hashCode() = value.hashCode() @@ -1260,7 +1260,7 @@ private constructor( return true } - return /* spotless:off */ other is ImageType && value == other.value /* spotless:on */ + return other is ImageType && value == other.value } override fun hashCode() = value.hashCode() @@ -1413,7 +1413,7 @@ private constructor( return true } - return /* spotless:off */ other is DocumentUploadStatus && value == other.value /* spotless:on */ + return other is DocumentUploadStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1609,7 +1609,7 @@ private constructor( return true } - return /* spotless:off */ other is DocumentUploadStatusReasons && value == other.value /* spotless:on */ + return other is DocumentUploadStatusReasons && value == other.value } override fun hashCode() = value.hashCode() @@ -1622,12 +1622,33 @@ private constructor( return true } - return /* spotless:off */ other is RequiredDocumentUpload && token == other.token && acceptedEntityStatusReasons == other.acceptedEntityStatusReasons && created == other.created && imageType == other.imageType && rejectedEntityStatusReasons == other.rejectedEntityStatusReasons && status == other.status && statusReasons == other.statusReasons && updated == other.updated && uploadUrl == other.uploadUrl && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RequiredDocumentUpload && + token == other.token && + acceptedEntityStatusReasons == other.acceptedEntityStatusReasons && + created == other.created && + imageType == other.imageType && + rejectedEntityStatusReasons == other.rejectedEntityStatusReasons && + status == other.status && + statusReasons == other.statusReasons && + updated == other.updated && + uploadUrl == other.uploadUrl && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, acceptedEntityStatusReasons, created, imageType, rejectedEntityStatusReasons, status, statusReasons, updated, uploadUrl, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + acceptedEntityStatusReasons, + created, + imageType, + rejectedEntityStatusReasons, + status, + statusReasons, + updated, + uploadUrl, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1640,12 +1661,25 @@ private constructor( return true } - return /* spotless:off */ other is Document && token == other.token && accountHolderToken == other.accountHolderToken && documentType == other.documentType && entityToken == other.entityToken && requiredDocumentUploads == other.requiredDocumentUploads && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Document && + token == other.token && + accountHolderToken == other.accountHolderToken && + documentType == other.documentType && + entityToken == other.entityToken && + requiredDocumentUploads == other.requiredDocumentUploads && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountHolderToken, documentType, entityToken, requiredDocumentUploads, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountHolderToken, + documentType, + entityToken, + requiredDocumentUploads, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EnhancedCommercialDataRetrieveResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EnhancedCommercialDataRetrieveResponse.kt index b3468e26c..51e80e16c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EnhancedCommercialDataRetrieveResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EnhancedCommercialDataRetrieveResponse.kt @@ -179,12 +179,12 @@ private constructor( return true } - return /* spotless:off */ other is EnhancedCommercialDataRetrieveResponse && data == other.data && additionalProperties == other.additionalProperties /* spotless:on */ + return other is EnhancedCommercialDataRetrieveResponse && + data == other.data && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EnhancedData.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EnhancedData.kt index 59fed3cc6..c949440ca 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EnhancedData.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EnhancedData.kt @@ -902,12 +902,17 @@ private constructor( return true } - return /* spotless:off */ other is LineItem && amount == other.amount && description == other.description && productCode == other.productCode && quantity == other.quantity && additionalProperties == other.additionalProperties /* spotless:on */ + return other is LineItem && + amount == other.amount && + description == other.description && + productCode == other.productCode && + quantity == other.quantity && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(amount, description, productCode, quantity, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(amount, description, productCode, quantity, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1255,7 +1260,7 @@ private constructor( return true } - return /* spotless:off */ other is TaxExemptIndicator && value == other.value /* spotless:on */ + return other is TaxExemptIndicator && value == other.value } override fun hashCode() = value.hashCode() @@ -1268,12 +1273,16 @@ private constructor( return true } - return /* spotless:off */ other is TaxData && amount == other.amount && exempt == other.exempt && merchantTaxId == other.merchantTaxId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TaxData && + amount == other.amount && + exempt == other.exempt && + merchantTaxId == other.merchantTaxId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(amount, exempt, merchantTaxId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(amount, exempt, merchantTaxId, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1286,12 +1295,25 @@ private constructor( return true } - return /* spotless:off */ other is CommonData && lineItems == other.lineItems && tax == other.tax && customerReferenceNumber == other.customerReferenceNumber && merchantReferenceNumber == other.merchantReferenceNumber && orderDate == other.orderDate && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CommonData && + lineItems == other.lineItems && + tax == other.tax && + customerReferenceNumber == other.customerReferenceNumber && + merchantReferenceNumber == other.merchantReferenceNumber && + orderDate == other.orderDate && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(lineItems, tax, customerReferenceNumber, merchantReferenceNumber, orderDate, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + lineItems, + tax, + customerReferenceNumber, + merchantReferenceNumber, + orderDate, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1859,12 +1881,16 @@ private constructor( return true } - return /* spotless:off */ other is AmountTotals && discount == other.discount && grossSale == other.grossSale && netSale == other.netSale && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AmountTotals && + discount == other.discount && + grossSale == other.grossSale && + netSale == other.netSale && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(discount, grossSale, netSale, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(discount, grossSale, netSale, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3115,7 +3141,7 @@ private constructor( return true } - return /* spotless:off */ other is FuelType && value == other.value /* spotless:on */ + return other is FuelType && value == other.value } override fun hashCode() = value.hashCode() @@ -3281,7 +3307,7 @@ private constructor( return true } - return /* spotless:off */ other is FuelUnitOfMeasure && value == other.value /* spotless:on */ + return other is FuelUnitOfMeasure && value == other.value } override fun hashCode() = value.hashCode() @@ -3294,12 +3320,17 @@ private constructor( return true } - return /* spotless:off */ other is FuelData && quantity == other.quantity && type == other.type && unitOfMeasure == other.unitOfMeasure && unitPrice == other.unitPrice && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FuelData && + quantity == other.quantity && + type == other.type && + unitOfMeasure == other.unitOfMeasure && + unitPrice == other.unitPrice && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(quantity, type, unitOfMeasure, unitPrice, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(quantity, type, unitOfMeasure, unitPrice, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3449,7 +3480,7 @@ private constructor( return true } - return /* spotless:off */ other is ServiceType && value == other.value /* spotless:on */ + return other is ServiceType && value == other.value } override fun hashCode() = value.hashCode() @@ -3462,12 +3493,27 @@ private constructor( return true } - return /* spotless:off */ other is Fleet && amountTotals == other.amountTotals && fuel == other.fuel && driverNumber == other.driverNumber && odometer == other.odometer && serviceType == other.serviceType && vehicleNumber == other.vehicleNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Fleet && + amountTotals == other.amountTotals && + fuel == other.fuel && + driverNumber == other.driverNumber && + odometer == other.odometer && + serviceType == other.serviceType && + vehicleNumber == other.vehicleNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(amountTotals, fuel, driverNumber, odometer, serviceType, vehicleNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + amountTotals, + fuel, + driverNumber, + odometer, + serviceType, + vehicleNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3480,12 +3526,18 @@ private constructor( return true } - return /* spotless:off */ other is EnhancedData && token == other.token && common == other.common && eventToken == other.eventToken && fleet == other.fleet && transactionToken == other.transactionToken && additionalProperties == other.additionalProperties /* spotless:on */ + return other is EnhancedData && + token == other.token && + common == other.common && + eventToken == other.eventToken && + fleet == other.fleet && + transactionToken == other.transactionToken && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, common, eventToken, fleet, transactionToken, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(token, common, eventToken, fleet, transactionToken, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Event.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Event.kt index 6bc95a92b..4a4d9b32b 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Event.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Event.kt @@ -757,7 +757,7 @@ private constructor( return true } - return /* spotless:off */ other is EventType && value == other.value /* spotless:on */ + return other is EventType && value == other.value } override fun hashCode() = value.hashCode() @@ -854,12 +854,10 @@ private constructor( return true } - return /* spotless:off */ other is Payload && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Payload && additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -871,12 +869,17 @@ private constructor( return true } - return /* spotless:off */ other is Event && token == other.token && created == other.created && eventType == other.eventType && payload == other.payload && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Event && + token == other.token && + created == other.created && + eventType == other.eventType && + payload == other.payload && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, created, eventType, payload, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(token, created, eventType, payload, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventEventSubscriptionResendParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventEventSubscriptionResendParams.kt index 22f08a96c..45edf6e75 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventEventSubscriptionResendParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventEventSubscriptionResendParams.kt @@ -246,10 +246,22 @@ private constructor( return true } - return /* spotless:off */ other is EventEventSubscriptionResendParams && eventToken == other.eventToken && eventSubscriptionToken == other.eventSubscriptionToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is EventEventSubscriptionResendParams && + eventToken == other.eventToken && + eventSubscriptionToken == other.eventSubscriptionToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventToken, eventSubscriptionToken, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + eventToken, + eventSubscriptionToken, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "EventEventSubscriptionResendParams{eventToken=$eventToken, eventSubscriptionToken=$eventSubscriptionToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPage.kt index ba384e7c5..5e7cd0142 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPage.kt @@ -120,10 +120,13 @@ private constructor( return true } - return /* spotless:off */ other is EventListAttemptsPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is EventListAttemptsPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "EventListAttemptsPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPageAsync.kt index d21904963..0ca080159 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPageAsync.kt @@ -134,10 +134,14 @@ private constructor( return true } - return /* spotless:off */ other is EventListAttemptsPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is EventListAttemptsPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "EventListAttemptsPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPageResponse.kt index ed90e0127..e652d4138 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsPageResponse.kt @@ -210,12 +210,13 @@ private constructor( return true } - return /* spotless:off */ other is EventListAttemptsPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is EventListAttemptsPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsParams.kt index 9392cef48..202238363 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListAttemptsParams.kt @@ -429,7 +429,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -442,10 +442,30 @@ private constructor( return true } - return /* spotless:off */ other is EventListAttemptsParams && eventToken == other.eventToken && begin == other.begin && end == other.end && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && status == other.status && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventListAttemptsParams && + eventToken == other.eventToken && + begin == other.begin && + end == other.end && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + status == other.status && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventToken, begin, end, endingBefore, pageSize, startingAfter, status, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + eventToken, + begin, + end, + endingBefore, + pageSize, + startingAfter, + status, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "EventListAttemptsParams{eventToken=$eventToken, begin=$begin, end=$end, endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, status=$status, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPage.kt index 43e8ccd48..9965bef7c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPage.kt @@ -119,10 +119,13 @@ private constructor( return true } - return /* spotless:off */ other is EventListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is EventListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "EventListPage{service=$service, params=$params, response=$response}" } diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPageAsync.kt index a9f6fe181..66d5e8517 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPageAsync.kt @@ -131,10 +131,14 @@ private constructor( return true } - return /* spotless:off */ other is EventListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is EventListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "EventListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPageResponse.kt index 6a93cbaa5..8a0f1aaf3 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListPageResponse.kt @@ -207,12 +207,13 @@ private constructor( return true } - return /* spotless:off */ other is EventListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is EventListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListParams.kt index dec64d5fd..231d1b286 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventListParams.kt @@ -719,7 +719,7 @@ private constructor( return true } - return /* spotless:off */ other is EventType && value == other.value /* spotless:on */ + return other is EventType && value == other.value } override fun hashCode() = value.hashCode() @@ -732,10 +732,30 @@ private constructor( return true } - return /* spotless:off */ other is EventListParams && begin == other.begin && end == other.end && endingBefore == other.endingBefore && eventTypes == other.eventTypes && pageSize == other.pageSize && startingAfter == other.startingAfter && withContent == other.withContent && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventListParams && + begin == other.begin && + end == other.end && + endingBefore == other.endingBefore && + eventTypes == other.eventTypes && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + withContent == other.withContent && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(begin, end, endingBefore, eventTypes, pageSize, startingAfter, withContent, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + begin, + end, + endingBefore, + eventTypes, + pageSize, + startingAfter, + withContent, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "EventListParams{begin=$begin, end=$end, endingBefore=$endingBefore, eventTypes=$eventTypes, pageSize=$pageSize, startingAfter=$startingAfter, withContent=$withContent, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventRetrieveParams.kt index 8f61720d3..bc86d010b 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventRetrieveParams.kt @@ -180,10 +180,14 @@ private constructor( return true } - return /* spotless:off */ other is EventRetrieveParams && eventToken == other.eventToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventRetrieveParams && + eventToken == other.eventToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(eventToken, additionalHeaders, additionalQueryParams) override fun toString() = "EventRetrieveParams{eventToken=$eventToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscription.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscription.kt index 0ce734af0..89aa3db79 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscription.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscription.kt @@ -720,7 +720,7 @@ private constructor( return true } - return /* spotless:off */ other is EventType && value == other.value /* spotless:on */ + return other is EventType && value == other.value } override fun hashCode() = value.hashCode() @@ -733,12 +733,18 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscription && token == other.token && description == other.description && disabled == other.disabled && url == other.url && eventTypes == other.eventTypes && additionalProperties == other.additionalProperties /* spotless:on */ + return other is EventSubscription && + token == other.token && + description == other.description && + disabled == other.disabled && + url == other.url && + eventTypes == other.eventTypes && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, description, disabled, url, eventTypes, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(token, description, disabled, url, eventTypes, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionCreateParams.kt index 2bbb61aa3..711a4b18d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionCreateParams.kt @@ -623,12 +623,17 @@ private constructor( return true } - return /* spotless:off */ other is Body && url == other.url && description == other.description && disabled == other.disabled && eventTypes == other.eventTypes && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + url == other.url && + description == other.description && + disabled == other.disabled && + eventTypes == other.eventTypes && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(url, description, disabled, eventTypes, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(url, description, disabled, eventTypes, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1037,7 +1042,7 @@ private constructor( return true } - return /* spotless:off */ other is EventType && value == other.value /* spotless:on */ + return other is EventType && value == other.value } override fun hashCode() = value.hashCode() @@ -1050,10 +1055,13 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionCreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventSubscriptionCreateParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "EventSubscriptionCreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionDeleteParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionDeleteParams.kt index 8744262d2..2396bf132 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionDeleteParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionDeleteParams.kt @@ -224,10 +224,20 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionDeleteParams && eventSubscriptionToken == other.eventSubscriptionToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is EventSubscriptionDeleteParams && + eventSubscriptionToken == other.eventSubscriptionToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventSubscriptionToken, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + eventSubscriptionToken, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "EventSubscriptionDeleteParams{eventSubscriptionToken=$eventSubscriptionToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPage.kt index a70d6ddfb..834baf25a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPage.kt @@ -127,10 +127,13 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionListAttemptsPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is EventSubscriptionListAttemptsPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "EventSubscriptionListAttemptsPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPageAsync.kt index e5ebdb18b..81eb293bb 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPageAsync.kt @@ -141,10 +141,14 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionListAttemptsPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is EventSubscriptionListAttemptsPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "EventSubscriptionListAttemptsPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPageResponse.kt index 3b9ece96c..f15c47f18 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsPageResponse.kt @@ -213,12 +213,13 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionListAttemptsPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is EventSubscriptionListAttemptsPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsParams.kt index 68e9d9f5f..0f0758e4c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListAttemptsParams.kt @@ -441,7 +441,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -454,10 +454,30 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionListAttemptsParams && eventSubscriptionToken == other.eventSubscriptionToken && begin == other.begin && end == other.end && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && status == other.status && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventSubscriptionListAttemptsParams && + eventSubscriptionToken == other.eventSubscriptionToken && + begin == other.begin && + end == other.end && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + status == other.status && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventSubscriptionToken, begin, end, endingBefore, pageSize, startingAfter, status, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + eventSubscriptionToken, + begin, + end, + endingBefore, + pageSize, + startingAfter, + status, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "EventSubscriptionListAttemptsParams{eventSubscriptionToken=$eventSubscriptionToken, begin=$begin, end=$end, endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, status=$status, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPage.kt index 7528dd488..c5f7ab1ee 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPage.kt @@ -122,10 +122,13 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is EventSubscriptionListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "EventSubscriptionListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPageAsync.kt index fac238f31..74d433d9f 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPageAsync.kt @@ -137,10 +137,14 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is EventSubscriptionListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "EventSubscriptionListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPageResponse.kt index 841c840de..f7c34ecf4 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListPageResponse.kt @@ -212,12 +212,13 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is EventSubscriptionListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListParams.kt index 7a5d8dbe2..b6ff74c3c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionListParams.kt @@ -232,10 +232,22 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionListParams && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventSubscriptionListParams && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(endingBefore, pageSize, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + endingBefore, + pageSize, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "EventSubscriptionListParams{endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRecoverParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRecoverParams.kt index 36b6983e0..7ea04cdbe 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRecoverParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRecoverParams.kt @@ -271,10 +271,24 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionRecoverParams && eventSubscriptionToken == other.eventSubscriptionToken && begin == other.begin && end == other.end && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is EventSubscriptionRecoverParams && + eventSubscriptionToken == other.eventSubscriptionToken && + begin == other.begin && + end == other.end && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventSubscriptionToken, begin, end, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + eventSubscriptionToken, + begin, + end, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "EventSubscriptionRecoverParams{eventSubscriptionToken=$eventSubscriptionToken, begin=$begin, end=$end, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionReplayMissingParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionReplayMissingParams.kt index b1bbfdb4b..62cb2d968 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionReplayMissingParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionReplayMissingParams.kt @@ -279,10 +279,24 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionReplayMissingParams && eventSubscriptionToken == other.eventSubscriptionToken && begin == other.begin && end == other.end && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is EventSubscriptionReplayMissingParams && + eventSubscriptionToken == other.eventSubscriptionToken && + begin == other.begin && + end == other.end && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventSubscriptionToken, begin, end, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + eventSubscriptionToken, + begin, + end, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "EventSubscriptionReplayMissingParams{eventSubscriptionToken=$eventSubscriptionToken, begin=$begin, end=$end, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRetrieveParams.kt index 4eda69289..8b8f9595c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRetrieveParams.kt @@ -191,10 +191,14 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionRetrieveParams && eventSubscriptionToken == other.eventSubscriptionToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventSubscriptionRetrieveParams && + eventSubscriptionToken == other.eventSubscriptionToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventSubscriptionToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(eventSubscriptionToken, additionalHeaders, additionalQueryParams) override fun toString() = "EventSubscriptionRetrieveParams{eventSubscriptionToken=$eventSubscriptionToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRetrieveSecretParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRetrieveSecretParams.kt index 38eeadf11..a833c28f6 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRetrieveSecretParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRetrieveSecretParams.kt @@ -192,10 +192,14 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionRetrieveSecretParams && eventSubscriptionToken == other.eventSubscriptionToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventSubscriptionRetrieveSecretParams && + eventSubscriptionToken == other.eventSubscriptionToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventSubscriptionToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(eventSubscriptionToken, additionalHeaders, additionalQueryParams) override fun toString() = "EventSubscriptionRetrieveSecretParams{eventSubscriptionToken=$eventSubscriptionToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRotateSecretParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRotateSecretParams.kt index 11c0f2250..271fc7fcc 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRotateSecretParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionRotateSecretParams.kt @@ -230,10 +230,20 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionRotateSecretParams && eventSubscriptionToken == other.eventSubscriptionToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */ + return other is EventSubscriptionRotateSecretParams && + eventSubscriptionToken == other.eventSubscriptionToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams && + additionalBodyProperties == other.additionalBodyProperties } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventSubscriptionToken, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + eventSubscriptionToken, + additionalHeaders, + additionalQueryParams, + additionalBodyProperties, + ) override fun toString() = "EventSubscriptionRotateSecretParams{eventSubscriptionToken=$eventSubscriptionToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionSendSimulatedExampleParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionSendSimulatedExampleParams.kt index 3f85b03c0..1e7235844 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionSendSimulatedExampleParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionSendSimulatedExampleParams.kt @@ -395,12 +395,12 @@ private constructor( return true } - return /* spotless:off */ other is Body && eventType == other.eventType && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + eventType == other.eventType && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(eventType, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -810,7 +810,7 @@ private constructor( return true } - return /* spotless:off */ other is EventType && value == other.value /* spotless:on */ + return other is EventType && value == other.value } override fun hashCode() = value.hashCode() @@ -823,10 +823,15 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionSendSimulatedExampleParams && eventSubscriptionToken == other.eventSubscriptionToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventSubscriptionSendSimulatedExampleParams && + eventSubscriptionToken == other.eventSubscriptionToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventSubscriptionToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(eventSubscriptionToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "EventSubscriptionSendSimulatedExampleParams{eventSubscriptionToken=$eventSubscriptionToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionUpdateParams.kt index c3c4cf416..e11b7d2d5 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionUpdateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/EventSubscriptionUpdateParams.kt @@ -646,12 +646,17 @@ private constructor( return true } - return /* spotless:off */ other is Body && url == other.url && description == other.description && disabled == other.disabled && eventTypes == other.eventTypes && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Body && + url == other.url && + description == other.description && + disabled == other.disabled && + eventTypes == other.eventTypes && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(url, description, disabled, eventTypes, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(url, description, disabled, eventTypes, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1060,7 +1065,7 @@ private constructor( return true } - return /* spotless:off */ other is EventType && value == other.value /* spotless:on */ + return other is EventType && value == other.value } override fun hashCode() = value.hashCode() @@ -1073,10 +1078,15 @@ private constructor( return true } - return /* spotless:off */ other is EventSubscriptionUpdateParams && eventSubscriptionToken == other.eventSubscriptionToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is EventSubscriptionUpdateParams && + eventSubscriptionToken == other.eventSubscriptionToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(eventSubscriptionToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(eventSubscriptionToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "EventSubscriptionUpdateParams{eventSubscriptionToken=$eventSubscriptionToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExtendedCredit.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExtendedCredit.kt index 37b1a9533..7df92451f 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExtendedCredit.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExtendedCredit.kt @@ -162,12 +162,12 @@ private constructor( return true } - return /* spotless:off */ other is ExtendedCredit && creditExtended == other.creditExtended && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExtendedCredit && + creditExtended == other.creditExtended && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(creditExtended, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountAddress.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountAddress.kt index 4def7c07a..413f167b2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountAddress.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountAddress.kt @@ -319,12 +319,19 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountAddress && address1 == other.address1 && city == other.city && country == other.country && postalCode == other.postalCode && state == other.state && address2 == other.address2 && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalBankAccountAddress && + address1 == other.address1 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + state == other.state && + address2 == other.address2 && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountCreateParams.kt index f477356d0..0aa820f07 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountCreateParams.kt @@ -374,10 +374,21 @@ private constructor( return true } - return /* spotless:off */ other is Body && bankVerifiedCreateBankAccountApiRequest == other.bankVerifiedCreateBankAccountApiRequest && plaidCreateBankAccountApiRequest == other.plaidCreateBankAccountApiRequest && externallyVerified == other.externallyVerified && unverified == other.unverified /* spotless:on */ + return other is Body && + bankVerifiedCreateBankAccountApiRequest == + other.bankVerifiedCreateBankAccountApiRequest && + plaidCreateBankAccountApiRequest == other.plaidCreateBankAccountApiRequest && + externallyVerified == other.externallyVerified && + unverified == other.unverified } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(bankVerifiedCreateBankAccountApiRequest, plaidCreateBankAccountApiRequest, externallyVerified, unverified) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + bankVerifiedCreateBankAccountApiRequest, + plaidCreateBankAccountApiRequest, + externallyVerified, + unverified, + ) override fun toString(): String = when { @@ -1491,7 +1502,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -1504,12 +1515,49 @@ private constructor( return true } - return /* spotless:off */ other is BankVerifiedCreateBankAccountApiRequest && accountNumber == other.accountNumber && country == other.country && currency == other.currency && financialAccountToken == other.financialAccountToken && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && type == other.type && verificationMethod == other.verificationMethod && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && name == other.name && userDefinedId == other.userDefinedId && verificationEnforcement == other.verificationEnforcement && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BankVerifiedCreateBankAccountApiRequest && + accountNumber == other.accountNumber && + country == other.country && + currency == other.currency && + financialAccountToken == other.financialAccountToken && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + type == other.type && + verificationMethod == other.verificationMethod && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + name == other.name && + userDefinedId == other.userDefinedId && + verificationEnforcement == other.verificationEnforcement && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accountNumber, country, currency, financialAccountToken, owner, ownerType, routingNumber, type, verificationMethod, accountToken, address, companyId, dob, doingBusinessAs, name, userDefinedId, verificationEnforcement, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + accountNumber, + country, + currency, + financialAccountToken, + owner, + ownerType, + routingNumber, + type, + verificationMethod, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + name, + userDefinedId, + verificationEnforcement, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2024,12 +2072,33 @@ private constructor( return true } - return /* spotless:off */ other is PlaidCreateBankAccountApiRequest && owner == other.owner && ownerType == other.ownerType && processorToken == other.processorToken && verificationMethod == other.verificationMethod && accountToken == other.accountToken && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is PlaidCreateBankAccountApiRequest && + owner == other.owner && + ownerType == other.ownerType && + processorToken == other.processorToken && + verificationMethod == other.verificationMethod && + accountToken == other.accountToken && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(owner, ownerType, processorToken, verificationMethod, accountToken, companyId, dob, doingBusinessAs, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + owner, + ownerType, + processorToken, + verificationMethod, + accountToken, + companyId, + dob, + doingBusinessAs, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2920,7 +2989,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -3054,7 +3123,7 @@ private constructor( return true } - return /* spotless:off */ other is ExternallyVerifiedVerificationMethod && value == other.value /* spotless:on */ + return other is ExternallyVerifiedVerificationMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -3067,12 +3136,45 @@ private constructor( return true } - return /* spotless:off */ other is ExternallyVerifiedCreateBankAccountApiRequest && accountNumber == other.accountNumber && country == other.country && currency == other.currency && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && type == other.type && verificationMethod == other.verificationMethod && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && name == other.name && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternallyVerifiedCreateBankAccountApiRequest && + accountNumber == other.accountNumber && + country == other.country && + currency == other.currency && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + type == other.type && + verificationMethod == other.verificationMethod && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + name == other.name && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accountNumber, country, currency, owner, ownerType, routingNumber, type, verificationMethod, accountToken, address, companyId, dob, doingBusinessAs, name, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + accountNumber, + country, + currency, + owner, + ownerType, + routingNumber, + type, + verificationMethod, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + name, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3957,7 +4059,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -4090,7 +4192,7 @@ private constructor( return true } - return /* spotless:off */ other is UnverifiedVerificationMethod && value == other.value /* spotless:on */ + return other is UnverifiedVerificationMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -4103,12 +4205,45 @@ private constructor( return true } - return /* spotless:off */ other is UnverifiedCreateBankAccountApiRequest && accountNumber == other.accountNumber && country == other.country && currency == other.currency && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && type == other.type && verificationMethod == other.verificationMethod && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && name == other.name && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is UnverifiedCreateBankAccountApiRequest && + accountNumber == other.accountNumber && + country == other.country && + currency == other.currency && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + type == other.type && + verificationMethod == other.verificationMethod && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + name == other.name && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accountNumber, country, currency, owner, ownerType, routingNumber, type, verificationMethod, accountToken, address, companyId, dob, doingBusinessAs, name, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + accountNumber, + country, + currency, + owner, + ownerType, + routingNumber, + type, + verificationMethod, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + name, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4122,10 +4257,13 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountCreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalBankAccountCreateParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalBankAccountCreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountCreateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountCreateResponse.kt index dcf992821..565f9f812 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountCreateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountCreateResponse.kt @@ -1145,7 +1145,7 @@ private constructor( return true } - return /* spotless:off */ other is OwnerType && value == other.value /* spotless:on */ + return other is OwnerType && value == other.value } override fun hashCode() = value.hashCode() @@ -1277,7 +1277,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1406,7 +1406,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -1549,7 +1549,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationMethod && value == other.value /* spotless:on */ + return other is VerificationMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -1691,7 +1691,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationState && value == other.value /* spotless:on */ + return other is VerificationState && value == other.value } override fun hashCode() = value.hashCode() @@ -1704,12 +1704,59 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountCreateResponse && token == other.token && country == other.country && created == other.created && currency == other.currency && lastFour == other.lastFour && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && state == other.state && type == other.type && verificationAttempts == other.verificationAttempts && verificationMethod == other.verificationMethod && verificationState == other.verificationState && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && financialAccountToken == other.financialAccountToken && name == other.name && userDefinedId == other.userDefinedId && verificationFailedReason == other.verificationFailedReason && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalBankAccountCreateResponse && + token == other.token && + country == other.country && + created == other.created && + currency == other.currency && + lastFour == other.lastFour && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + state == other.state && + type == other.type && + verificationAttempts == other.verificationAttempts && + verificationMethod == other.verificationMethod && + verificationState == other.verificationState && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + financialAccountToken == other.financialAccountToken && + name == other.name && + userDefinedId == other.userDefinedId && + verificationFailedReason == other.verificationFailedReason && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, country, created, currency, lastFour, owner, ownerType, routingNumber, state, type, verificationAttempts, verificationMethod, verificationState, accountToken, address, companyId, dob, doingBusinessAs, financialAccountToken, name, userDefinedId, verificationFailedReason, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + country, + created, + currency, + lastFour, + owner, + ownerType, + routingNumber, + state, + type, + verificationAttempts, + verificationMethod, + verificationState, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + financialAccountToken, + name, + userDefinedId, + verificationFailedReason, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPage.kt index 2d2338db7..271b34b5e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPage.kt @@ -122,10 +122,13 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is ExternalBankAccountListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "ExternalBankAccountListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPageAsync.kt index 53981e29c..9c493788c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPageAsync.kt @@ -138,10 +138,14 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is ExternalBankAccountListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "ExternalBankAccountListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPageResponse.kt index b566746af..b06c52eff 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListPageResponse.kt @@ -215,12 +215,13 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalBankAccountListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListParams.kt index 26aca8c32..9faea6bd4 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListParams.kt @@ -486,7 +486,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -620,7 +620,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountState && value == other.value /* spotless:on */ + return other is AccountState && value == other.value } override fun hashCode() = value.hashCode() @@ -761,7 +761,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationState && value == other.value /* spotless:on */ + return other is VerificationState && value == other.value } override fun hashCode() = value.hashCode() @@ -774,10 +774,34 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountListParams && accountToken == other.accountToken && accountTypes == other.accountTypes && countries == other.countries && endingBefore == other.endingBefore && ownerTypes == other.ownerTypes && pageSize == other.pageSize && startingAfter == other.startingAfter && states == other.states && verificationStates == other.verificationStates && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalBankAccountListParams && + accountToken == other.accountToken && + accountTypes == other.accountTypes && + countries == other.countries && + endingBefore == other.endingBefore && + ownerTypes == other.ownerTypes && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + states == other.states && + verificationStates == other.verificationStates && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, accountTypes, countries, endingBefore, ownerTypes, pageSize, startingAfter, states, verificationStates, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + accountToken, + accountTypes, + countries, + endingBefore, + ownerTypes, + pageSize, + startingAfter, + states, + verificationStates, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "ExternalBankAccountListParams{accountToken=$accountToken, accountTypes=$accountTypes, countries=$countries, endingBefore=$endingBefore, ownerTypes=$ownerTypes, pageSize=$pageSize, startingAfter=$startingAfter, states=$states, verificationStates=$verificationStates, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListResponse.kt index aff3b5d2c..3f2c8da34 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountListResponse.kt @@ -1144,7 +1144,7 @@ private constructor( return true } - return /* spotless:off */ other is OwnerType && value == other.value /* spotless:on */ + return other is OwnerType && value == other.value } override fun hashCode() = value.hashCode() @@ -1276,7 +1276,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1405,7 +1405,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -1548,7 +1548,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationMethod && value == other.value /* spotless:on */ + return other is VerificationMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -1690,7 +1690,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationState && value == other.value /* spotless:on */ + return other is VerificationState && value == other.value } override fun hashCode() = value.hashCode() @@ -1703,12 +1703,59 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountListResponse && token == other.token && country == other.country && created == other.created && currency == other.currency && lastFour == other.lastFour && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && state == other.state && type == other.type && verificationAttempts == other.verificationAttempts && verificationMethod == other.verificationMethod && verificationState == other.verificationState && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && financialAccountToken == other.financialAccountToken && name == other.name && userDefinedId == other.userDefinedId && verificationFailedReason == other.verificationFailedReason && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalBankAccountListResponse && + token == other.token && + country == other.country && + created == other.created && + currency == other.currency && + lastFour == other.lastFour && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + state == other.state && + type == other.type && + verificationAttempts == other.verificationAttempts && + verificationMethod == other.verificationMethod && + verificationState == other.verificationState && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + financialAccountToken == other.financialAccountToken && + name == other.name && + userDefinedId == other.userDefinedId && + verificationFailedReason == other.verificationFailedReason && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, country, created, currency, lastFour, owner, ownerType, routingNumber, state, type, verificationAttempts, verificationMethod, verificationState, accountToken, address, companyId, dob, doingBusinessAs, financialAccountToken, name, userDefinedId, verificationFailedReason, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + country, + created, + currency, + lastFour, + owner, + ownerType, + routingNumber, + state, + type, + verificationAttempts, + verificationMethod, + verificationState, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + financialAccountToken, + name, + userDefinedId, + verificationFailedReason, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountMicroDepositCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountMicroDepositCreateParams.kt index 5bcb97245..80a59a9de 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountMicroDepositCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountMicroDepositCreateParams.kt @@ -449,12 +449,12 @@ private constructor( return true } - return /* spotless:off */ other is MicroDepositVerificationRequest && microDeposits == other.microDeposits && additionalProperties == other.additionalProperties /* spotless:on */ + return other is MicroDepositVerificationRequest && + microDeposits == other.microDeposits && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(microDeposits, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -467,10 +467,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountMicroDepositCreateParams && externalBankAccountToken == other.externalBankAccountToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalBankAccountMicroDepositCreateParams && + externalBankAccountToken == other.externalBankAccountToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalBankAccountToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalBankAccountToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalBankAccountMicroDepositCreateParams{externalBankAccountToken=$externalBankAccountToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetrieveParams.kt index 1867cbd45..666326abe 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetrieveParams.kt @@ -192,10 +192,14 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountRetrieveParams && externalBankAccountToken == other.externalBankAccountToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalBankAccountRetrieveParams && + externalBankAccountToken == other.externalBankAccountToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalBankAccountToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalBankAccountToken, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalBankAccountRetrieveParams{externalBankAccountToken=$externalBankAccountToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetrieveResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetrieveResponse.kt index 95e3fe19e..a4b30677e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetrieveResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetrieveResponse.kt @@ -1145,7 +1145,7 @@ private constructor( return true } - return /* spotless:off */ other is OwnerType && value == other.value /* spotless:on */ + return other is OwnerType && value == other.value } override fun hashCode() = value.hashCode() @@ -1277,7 +1277,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1406,7 +1406,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -1549,7 +1549,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationMethod && value == other.value /* spotless:on */ + return other is VerificationMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -1691,7 +1691,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationState && value == other.value /* spotless:on */ + return other is VerificationState && value == other.value } override fun hashCode() = value.hashCode() @@ -1704,12 +1704,59 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountRetrieveResponse && token == other.token && country == other.country && created == other.created && currency == other.currency && lastFour == other.lastFour && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && state == other.state && type == other.type && verificationAttempts == other.verificationAttempts && verificationMethod == other.verificationMethod && verificationState == other.verificationState && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && financialAccountToken == other.financialAccountToken && name == other.name && userDefinedId == other.userDefinedId && verificationFailedReason == other.verificationFailedReason && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalBankAccountRetrieveResponse && + token == other.token && + country == other.country && + created == other.created && + currency == other.currency && + lastFour == other.lastFour && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + state == other.state && + type == other.type && + verificationAttempts == other.verificationAttempts && + verificationMethod == other.verificationMethod && + verificationState == other.verificationState && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + financialAccountToken == other.financialAccountToken && + name == other.name && + userDefinedId == other.userDefinedId && + verificationFailedReason == other.verificationFailedReason && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, country, created, currency, lastFour, owner, ownerType, routingNumber, state, type, verificationAttempts, verificationMethod, verificationState, accountToken, address, companyId, dob, doingBusinessAs, financialAccountToken, name, userDefinedId, verificationFailedReason, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + country, + created, + currency, + lastFour, + owner, + ownerType, + routingNumber, + state, + type, + verificationAttempts, + verificationMethod, + verificationState, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + financialAccountToken, + name, + userDefinedId, + verificationFailedReason, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryMicroDepositsParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryMicroDepositsParams.kt index a2e41b25c..2c470f42f 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryMicroDepositsParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryMicroDepositsParams.kt @@ -411,12 +411,14 @@ private constructor( return true } - return /* spotless:off */ other is RetryMicroDepositVerificationRequest && financialAccountToken == other.financialAccountToken && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RetryMicroDepositVerificationRequest && + financialAccountToken == other.financialAccountToken && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(financialAccountToken, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(financialAccountToken, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -429,10 +431,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountRetryMicroDepositsParams && externalBankAccountToken == other.externalBankAccountToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalBankAccountRetryMicroDepositsParams && + externalBankAccountToken == other.externalBankAccountToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalBankAccountToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalBankAccountToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalBankAccountRetryMicroDepositsParams{externalBankAccountToken=$externalBankAccountToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryMicroDepositsResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryMicroDepositsResponse.kt index 9539a3570..24d9a2579 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryMicroDepositsResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryMicroDepositsResponse.kt @@ -1149,7 +1149,7 @@ private constructor( return true } - return /* spotless:off */ other is OwnerType && value == other.value /* spotless:on */ + return other is OwnerType && value == other.value } override fun hashCode() = value.hashCode() @@ -1281,7 +1281,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1410,7 +1410,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -1553,7 +1553,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationMethod && value == other.value /* spotless:on */ + return other is VerificationMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -1695,7 +1695,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationState && value == other.value /* spotless:on */ + return other is VerificationState && value == other.value } override fun hashCode() = value.hashCode() @@ -1708,12 +1708,59 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountRetryMicroDepositsResponse && token == other.token && country == other.country && created == other.created && currency == other.currency && lastFour == other.lastFour && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && state == other.state && type == other.type && verificationAttempts == other.verificationAttempts && verificationMethod == other.verificationMethod && verificationState == other.verificationState && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && financialAccountToken == other.financialAccountToken && name == other.name && userDefinedId == other.userDefinedId && verificationFailedReason == other.verificationFailedReason && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalBankAccountRetryMicroDepositsResponse && + token == other.token && + country == other.country && + created == other.created && + currency == other.currency && + lastFour == other.lastFour && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + state == other.state && + type == other.type && + verificationAttempts == other.verificationAttempts && + verificationMethod == other.verificationMethod && + verificationState == other.verificationState && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + financialAccountToken == other.financialAccountToken && + name == other.name && + userDefinedId == other.userDefinedId && + verificationFailedReason == other.verificationFailedReason && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, country, created, currency, lastFour, owner, ownerType, routingNumber, state, type, verificationAttempts, verificationMethod, verificationState, accountToken, address, companyId, dob, doingBusinessAs, financialAccountToken, name, userDefinedId, verificationFailedReason, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + country, + created, + currency, + lastFour, + owner, + ownerType, + routingNumber, + state, + type, + verificationAttempts, + verificationMethod, + verificationState, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + financialAccountToken, + name, + userDefinedId, + verificationFailedReason, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryPrenoteParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryPrenoteParams.kt index 9829e03c1..552b830d6 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryPrenoteParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryPrenoteParams.kt @@ -407,12 +407,14 @@ private constructor( return true } - return /* spotless:off */ other is RetryPrenoteVerificationRequest && financialAccountToken == other.financialAccountToken && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RetryPrenoteVerificationRequest && + financialAccountToken == other.financialAccountToken && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(financialAccountToken, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(financialAccountToken, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -425,10 +427,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountRetryPrenoteParams && externalBankAccountToken == other.externalBankAccountToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalBankAccountRetryPrenoteParams && + externalBankAccountToken == other.externalBankAccountToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalBankAccountToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalBankAccountToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalBankAccountRetryPrenoteParams{externalBankAccountToken=$externalBankAccountToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryPrenoteResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryPrenoteResponse.kt index b9a0af299..55004a576 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryPrenoteResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountRetryPrenoteResponse.kt @@ -1150,7 +1150,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1279,7 +1279,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -1421,7 +1421,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationState && value == other.value /* spotless:on */ + return other is VerificationState && value == other.value } override fun hashCode() = value.hashCode() @@ -1434,12 +1434,59 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountRetryPrenoteResponse && token == other.token && country == other.country && created == other.created && currency == other.currency && lastFour == other.lastFour && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && state == other.state && type == other.type && verificationAttempts == other.verificationAttempts && verificationMethod == other.verificationMethod && verificationState == other.verificationState && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && financialAccountToken == other.financialAccountToken && name == other.name && userDefinedId == other.userDefinedId && verificationFailedReason == other.verificationFailedReason && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalBankAccountRetryPrenoteResponse && + token == other.token && + country == other.country && + created == other.created && + currency == other.currency && + lastFour == other.lastFour && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + state == other.state && + type == other.type && + verificationAttempts == other.verificationAttempts && + verificationMethod == other.verificationMethod && + verificationState == other.verificationState && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + financialAccountToken == other.financialAccountToken && + name == other.name && + userDefinedId == other.userDefinedId && + verificationFailedReason == other.verificationFailedReason && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, country, created, currency, lastFour, owner, ownerType, routingNumber, state, type, verificationAttempts, verificationMethod, verificationState, accountToken, address, companyId, dob, doingBusinessAs, financialAccountToken, name, userDefinedId, verificationFailedReason, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + country, + created, + currency, + lastFour, + owner, + ownerType, + routingNumber, + state, + type, + verificationAttempts, + verificationMethod, + verificationState, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + financialAccountToken, + name, + userDefinedId, + verificationFailedReason, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountUpdateParams.kt index 801c207f8..24c1a6de4 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountUpdateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountUpdateParams.kt @@ -939,12 +939,33 @@ private constructor( return true } - return /* spotless:off */ other is UpdateBankAccountApiRequest && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && name == other.name && owner == other.owner && ownerType == other.ownerType && type == other.type && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is UpdateBankAccountApiRequest && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + name == other.name && + owner == other.owner && + ownerType == other.ownerType && + type == other.type && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, companyId, dob, doingBusinessAs, name, owner, ownerType, type, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + companyId, + dob, + doingBusinessAs, + name, + owner, + ownerType, + type, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1074,7 +1095,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountTypeExternal && value == other.value /* spotless:on */ + return other is AccountTypeExternal && value == other.value } override fun hashCode() = value.hashCode() @@ -1087,10 +1108,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountUpdateParams && externalBankAccountToken == other.externalBankAccountToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalBankAccountUpdateParams && + externalBankAccountToken == other.externalBankAccountToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalBankAccountToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalBankAccountToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalBankAccountUpdateParams{externalBankAccountToken=$externalBankAccountToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountUpdateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountUpdateResponse.kt index 1e306f18c..9f64d7a6a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountUpdateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalBankAccountUpdateResponse.kt @@ -1145,7 +1145,7 @@ private constructor( return true } - return /* spotless:off */ other is OwnerType && value == other.value /* spotless:on */ + return other is OwnerType && value == other.value } override fun hashCode() = value.hashCode() @@ -1277,7 +1277,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1406,7 +1406,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -1549,7 +1549,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationMethod && value == other.value /* spotless:on */ + return other is VerificationMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -1691,7 +1691,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationState && value == other.value /* spotless:on */ + return other is VerificationState && value == other.value } override fun hashCode() = value.hashCode() @@ -1704,12 +1704,59 @@ private constructor( return true } - return /* spotless:off */ other is ExternalBankAccountUpdateResponse && token == other.token && country == other.country && created == other.created && currency == other.currency && lastFour == other.lastFour && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && state == other.state && type == other.type && verificationAttempts == other.verificationAttempts && verificationMethod == other.verificationMethod && verificationState == other.verificationState && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && financialAccountToken == other.financialAccountToken && name == other.name && userDefinedId == other.userDefinedId && verificationFailedReason == other.verificationFailedReason && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalBankAccountUpdateResponse && + token == other.token && + country == other.country && + created == other.created && + currency == other.currency && + lastFour == other.lastFour && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + state == other.state && + type == other.type && + verificationAttempts == other.verificationAttempts && + verificationMethod == other.verificationMethod && + verificationState == other.verificationState && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + financialAccountToken == other.financialAccountToken && + name == other.name && + userDefinedId == other.userDefinedId && + verificationFailedReason == other.verificationFailedReason && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, country, created, currency, lastFour, owner, ownerType, routingNumber, state, type, verificationAttempts, verificationMethod, verificationState, accountToken, address, companyId, dob, doingBusinessAs, financialAccountToken, name, userDefinedId, verificationFailedReason, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + country, + created, + currency, + lastFour, + owner, + ownerType, + routingNumber, + state, + type, + verificationAttempts, + verificationMethod, + verificationState, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + financialAccountToken, + name, + userDefinedId, + verificationFailedReason, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPayment.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPayment.kt index 4883805f9..266c6e9af 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPayment.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPayment.kt @@ -815,7 +815,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -963,7 +963,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1107,7 +1107,7 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentCategory && value == other.value /* spotless:on */ + return other is ExternalPaymentCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -1655,7 +1655,7 @@ private constructor( return true } - return /* spotless:off */ other is DetailedResults && value == other.value /* spotless:on */ + return other is DetailedResults && value == other.value } override fun hashCode() = value.hashCode() @@ -1788,7 +1788,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -2031,7 +2031,7 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentEventType && value == other.value /* spotless:on */ + return other is ExternalPaymentEventType && value == other.value } override fun hashCode() = value.hashCode() @@ -2044,12 +2044,31 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentEvent && token == other.token && amount == other.amount && created == other.created && detailedResults == other.detailedResults && effectiveDate == other.effectiveDate && memo == other.memo && result == other.result && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalPaymentEvent && + token == other.token && + amount == other.amount && + created == other.created && + detailedResults == other.detailedResults && + effectiveDate == other.effectiveDate && + memo == other.memo && + result == other.result && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, amount, created, detailedResults, effectiveDate, memo, result, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + amount, + created, + detailedResults, + effectiveDate, + memo, + result, + type, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2181,7 +2200,7 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentDirection && value == other.value /* spotless:on */ + return other is ExternalPaymentDirection && value == other.value } override fun hashCode() = value.hashCode() @@ -2310,7 +2329,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -2323,12 +2342,43 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPayment && token == other.token && created == other.created && family == other.family && status == other.status && updated == other.updated && category == other.category && currency == other.currency && events == other.events && financialAccountToken == other.financialAccountToken && paymentType == other.paymentType && pendingAmount == other.pendingAmount && result == other.result && settledAmount == other.settledAmount && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalPayment && + token == other.token && + created == other.created && + family == other.family && + status == other.status && + updated == other.updated && + category == other.category && + currency == other.currency && + events == other.events && + financialAccountToken == other.financialAccountToken && + paymentType == other.paymentType && + pendingAmount == other.pendingAmount && + result == other.result && + settledAmount == other.settledAmount && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, created, family, status, updated, category, currency, events, financialAccountToken, paymentType, pendingAmount, result, settledAmount, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + created, + family, + status, + updated, + category, + currency, + events, + financialAccountToken, + paymentType, + pendingAmount, + result, + settledAmount, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentCancelParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentCancelParams.kt index 1a9b2f1fe..e980d467d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentCancelParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentCancelParams.kt @@ -476,12 +476,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentActionRequest && effectiveDate == other.effectiveDate && memo == other.memo && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalPaymentActionRequest && + effectiveDate == other.effectiveDate && + memo == other.memo && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(effectiveDate, memo, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(effectiveDate, memo, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -494,10 +497,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentCancelParams && externalPaymentToken == other.externalPaymentToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalPaymentCancelParams && + externalPaymentToken == other.externalPaymentToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalPaymentToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalPaymentToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalPaymentCancelParams{externalPaymentToken=$externalPaymentToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentCreateParams.kt index dc9b192ad..3c973a391 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentCreateParams.kt @@ -922,12 +922,33 @@ private constructor( return true } - return /* spotless:off */ other is CreateExternalPaymentRequest && amount == other.amount && category == other.category && effectiveDate == other.effectiveDate && financialAccountToken == other.financialAccountToken && paymentType == other.paymentType && token == other.token && memo == other.memo && progressTo == other.progressTo && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CreateExternalPaymentRequest && + amount == other.amount && + category == other.category && + effectiveDate == other.effectiveDate && + financialAccountToken == other.financialAccountToken && + paymentType == other.paymentType && + token == other.token && + memo == other.memo && + progressTo == other.progressTo && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(amount, category, effectiveDate, financialAccountToken, paymentType, token, memo, progressTo, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + amount, + category, + effectiveDate, + financialAccountToken, + paymentType, + token, + memo, + progressTo, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1071,7 +1092,7 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentCategory && value == other.value /* spotless:on */ + return other is ExternalPaymentCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -1203,7 +1224,7 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentDirection && value == other.value /* spotless:on */ + return other is ExternalPaymentDirection && value == other.value } override fun hashCode() = value.hashCode() @@ -1336,7 +1357,7 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentProgressTo && value == other.value /* spotless:on */ + return other is ExternalPaymentProgressTo && value == other.value } override fun hashCode() = value.hashCode() @@ -1349,10 +1370,13 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentCreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalPaymentCreateParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalPaymentCreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPage.kt index 94f66c327..d77031508 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPage.kt @@ -120,10 +120,13 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is ExternalPaymentListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "ExternalPaymentListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPageAsync.kt index a96444f38..b36ed5828 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPageAsync.kt @@ -134,10 +134,14 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is ExternalPaymentListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "ExternalPaymentListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPageResponse.kt index ee9f1104d..fec70c158 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListPageResponse.kt @@ -212,12 +212,13 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalPaymentListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListParams.kt index 3631ec513..2cbb2b6d2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentListParams.kt @@ -496,7 +496,7 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentCategory && value == other.value /* spotless:on */ + return other is ExternalPaymentCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -626,7 +626,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -774,7 +774,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -787,10 +787,36 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentListParams && begin == other.begin && businessAccountToken == other.businessAccountToken && category == other.category && end == other.end && endingBefore == other.endingBefore && financialAccountToken == other.financialAccountToken && pageSize == other.pageSize && result == other.result && startingAfter == other.startingAfter && status == other.status && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalPaymentListParams && + begin == other.begin && + businessAccountToken == other.businessAccountToken && + category == other.category && + end == other.end && + endingBefore == other.endingBefore && + financialAccountToken == other.financialAccountToken && + pageSize == other.pageSize && + result == other.result && + startingAfter == other.startingAfter && + status == other.status && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(begin, businessAccountToken, category, end, endingBefore, financialAccountToken, pageSize, result, startingAfter, status, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + begin, + businessAccountToken, + category, + end, + endingBefore, + financialAccountToken, + pageSize, + result, + startingAfter, + status, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "ExternalPaymentListParams{begin=$begin, businessAccountToken=$businessAccountToken, category=$category, end=$end, endingBefore=$endingBefore, financialAccountToken=$financialAccountToken, pageSize=$pageSize, result=$result, startingAfter=$startingAfter, status=$status, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentReleaseParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentReleaseParams.kt index 5194110c4..b160d2284 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentReleaseParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentReleaseParams.kt @@ -476,12 +476,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentActionRequest && effectiveDate == other.effectiveDate && memo == other.memo && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalPaymentActionRequest && + effectiveDate == other.effectiveDate && + memo == other.memo && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(effectiveDate, memo, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(effectiveDate, memo, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -494,10 +497,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentReleaseParams && externalPaymentToken == other.externalPaymentToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalPaymentReleaseParams && + externalPaymentToken == other.externalPaymentToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalPaymentToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalPaymentToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalPaymentReleaseParams{externalPaymentToken=$externalPaymentToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentRetrieveParams.kt index 91e95a51a..76dda4278 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentRetrieveParams.kt @@ -189,10 +189,14 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentRetrieveParams && externalPaymentToken == other.externalPaymentToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalPaymentRetrieveParams && + externalPaymentToken == other.externalPaymentToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalPaymentToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalPaymentToken, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalPaymentRetrieveParams{externalPaymentToken=$externalPaymentToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentReverseParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentReverseParams.kt index 93f28a1d3..c2823a1f8 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentReverseParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentReverseParams.kt @@ -476,12 +476,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentActionRequest && effectiveDate == other.effectiveDate && memo == other.memo && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalPaymentActionRequest && + effectiveDate == other.effectiveDate && + memo == other.memo && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(effectiveDate, memo, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(effectiveDate, memo, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -494,10 +497,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentReverseParams && externalPaymentToken == other.externalPaymentToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalPaymentReverseParams && + externalPaymentToken == other.externalPaymentToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalPaymentToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalPaymentToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalPaymentReverseParams{externalPaymentToken=$externalPaymentToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentSettleParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentSettleParams.kt index 3dca3b1d3..e0e5eb7df 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentSettleParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalPaymentSettleParams.kt @@ -550,12 +550,16 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentActionWithProgressToRequest && effectiveDate == other.effectiveDate && memo == other.memo && progressTo == other.progressTo && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalPaymentActionWithProgressToRequest && + effectiveDate == other.effectiveDate && + memo == other.memo && + progressTo == other.progressTo && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(effectiveDate, memo, progressTo, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(effectiveDate, memo, progressTo, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -688,7 +692,7 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentProgressTo && value == other.value /* spotless:on */ + return other is ExternalPaymentProgressTo && value == other.value } override fun hashCode() = value.hashCode() @@ -701,10 +705,15 @@ private constructor( return true } - return /* spotless:off */ other is ExternalPaymentSettleParams && externalPaymentToken == other.externalPaymentToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ExternalPaymentSettleParams && + externalPaymentToken == other.externalPaymentToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(externalPaymentToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(externalPaymentToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "ExternalPaymentSettleParams{externalPaymentToken=$externalPaymentToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalResource.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalResource.kt index ff163ef57..c5868f621 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalResource.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalResource.kt @@ -261,12 +261,21 @@ private constructor( return true } - return /* spotless:off */ other is ExternalResource && externalResourceToken == other.externalResourceToken && externalResourceType == other.externalResourceType && externalResourceSubToken == other.externalResourceSubToken && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ExternalResource && + externalResourceToken == other.externalResourceToken && + externalResourceType == other.externalResourceType && + externalResourceSubToken == other.externalResourceSubToken && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(externalResourceToken, externalResourceType, externalResourceSubToken, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + externalResourceToken, + externalResourceType, + externalResourceSubToken, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalResourceType.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalResourceType.kt index c85cbcdc3..b13500c5b 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalResourceType.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ExternalResourceType.kt @@ -138,7 +138,7 @@ class ExternalResourceType @JsonCreator private constructor(private val value: J return true } - return /* spotless:off */ other is ExternalResourceType && value == other.value /* spotless:on */ + return other is ExternalResourceType && value == other.value } override fun hashCode() = value.hashCode() diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccount.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccount.kt index 2169d17fd..1f1348707 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccount.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccount.kt @@ -1187,7 +1187,7 @@ private constructor( return true } - return /* spotless:off */ other is ChargedOffReason && value == other.value /* spotless:on */ + return other is ChargedOffReason && value == other.value } override fun hashCode() = value.hashCode() @@ -1335,7 +1335,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountState && value == other.value /* spotless:on */ + return other is FinancialAccountState && value == other.value } override fun hashCode() = value.hashCode() @@ -1348,12 +1348,29 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountCreditConfig && chargedOffReason == other.chargedOffReason && creditLimit == other.creditLimit && creditProductToken == other.creditProductToken && externalBankAccountToken == other.externalBankAccountToken && financialAccountState == other.financialAccountState && isSpendBlocked == other.isSpendBlocked && tier == other.tier && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialAccountCreditConfig && + chargedOffReason == other.chargedOffReason && + creditLimit == other.creditLimit && + creditProductToken == other.creditProductToken && + externalBankAccountToken == other.externalBankAccountToken && + financialAccountState == other.financialAccountState && + isSpendBlocked == other.isSpendBlocked && + tier == other.tier && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(chargedOffReason, creditLimit, creditProductToken, externalBankAccountToken, financialAccountState, isSpendBlocked, tier, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + chargedOffReason, + creditLimit, + creditProductToken, + externalBankAccountToken, + financialAccountState, + isSpendBlocked, + tier, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1498,7 +1515,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatus && value == other.value /* spotless:on */ + return other is FinancialAccountStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1665,7 +1682,7 @@ private constructor( return true } - return /* spotless:off */ other is Type && value == other.value /* spotless:on */ + return other is Type && value == other.value } override fun hashCode() = value.hashCode() @@ -1817,7 +1834,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountSubstatus && value == other.value /* spotless:on */ + return other is FinancialAccountSubstatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1830,12 +1847,39 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccount && token == other.token && accountToken == other.accountToken && created == other.created && creditConfiguration == other.creditConfiguration && isForBenefitOf == other.isForBenefitOf && nickname == other.nickname && status == other.status && type == other.type && updated == other.updated && accountNumber == other.accountNumber && routingNumber == other.routingNumber && substatus == other.substatus && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialAccount && + token == other.token && + accountToken == other.accountToken && + created == other.created && + creditConfiguration == other.creditConfiguration && + isForBenefitOf == other.isForBenefitOf && + nickname == other.nickname && + status == other.status && + type == other.type && + updated == other.updated && + accountNumber == other.accountNumber && + routingNumber == other.routingNumber && + substatus == other.substatus && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountToken, created, creditConfiguration, isForBenefitOf, nickname, status, type, updated, accountNumber, routingNumber, substatus, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountToken, + created, + creditConfiguration, + isForBenefitOf, + nickname, + status, + type, + updated, + accountNumber, + routingNumber, + substatus, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPage.kt index 997623b73..1b348b85d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPage.kt @@ -120,10 +120,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountBalanceListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountBalanceListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "FinancialAccountBalanceListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPageAsync.kt index cf61ebff7..6e4bee5aa 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPageAsync.kt @@ -135,10 +135,14 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountBalanceListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountBalanceListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "FinancialAccountBalanceListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPageResponse.kt index bc4f7e30a..ff5ad7e96 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListPageResponse.kt @@ -216,12 +216,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountBalanceListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialAccountBalanceListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListParams.kt index 296a852c8..11c7c61b2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountBalanceListParams.kt @@ -243,10 +243,22 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountBalanceListParams && financialAccountToken == other.financialAccountToken && balanceDate == other.balanceDate && lastTransactionEventToken == other.lastTransactionEventToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountBalanceListParams && + financialAccountToken == other.financialAccountToken && + balanceDate == other.balanceDate && + lastTransactionEventToken == other.lastTransactionEventToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, balanceDate, lastTransactionEventToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + financialAccountToken, + balanceDate, + lastTransactionEventToken, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "FinancialAccountBalanceListParams{financialAccountToken=$financialAccountToken, balanceDate=$balanceDate, lastTransactionEventToken=$lastTransactionEventToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreateParams.kt index 80fce303f..a2b456a0d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreateParams.kt @@ -599,12 +599,17 @@ private constructor( return true } - return /* spotless:off */ other is CreateFinancialAccountRequest && nickname == other.nickname && type == other.type && accountToken == other.accountToken && isForBenefitOf == other.isForBenefitOf && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CreateFinancialAccountRequest && + nickname == other.nickname && + type == other.type && + accountToken == other.accountToken && + isForBenefitOf == other.isForBenefitOf && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(nickname, type, accountToken, isForBenefitOf, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(nickname, type, accountToken, isForBenefitOf, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -723,7 +728,7 @@ private constructor( return true } - return /* spotless:off */ other is Type && value == other.value /* spotless:on */ + return other is Type && value == other.value } override fun hashCode() = value.hashCode() @@ -736,10 +741,15 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountCreateParams && idempotencyKey == other.idempotencyKey && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountCreateParams && + idempotencyKey == other.idempotencyKey && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(idempotencyKey, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(idempotencyKey, body, additionalHeaders, additionalQueryParams) override fun toString() = "FinancialAccountCreateParams{idempotencyKey=$idempotencyKey, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfig.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfig.kt index 00eb79273..c8ed09f0f 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfig.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfig.kt @@ -613,7 +613,7 @@ private constructor( return true } - return /* spotless:off */ other is ChargedOffReason && value == other.value /* spotless:on */ + return other is ChargedOffReason && value == other.value } override fun hashCode() = value.hashCode() @@ -757,7 +757,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountState && value == other.value /* spotless:on */ + return other is FinancialAccountState && value == other.value } override fun hashCode() = value.hashCode() @@ -770,12 +770,31 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountCreditConfig && accountToken == other.accountToken && chargedOffReason == other.chargedOffReason && creditLimit == other.creditLimit && creditProductToken == other.creditProductToken && externalBankAccountToken == other.externalBankAccountToken && financialAccountState == other.financialAccountState && isSpendBlocked == other.isSpendBlocked && tier == other.tier && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialAccountCreditConfig && + accountToken == other.accountToken && + chargedOffReason == other.chargedOffReason && + creditLimit == other.creditLimit && + creditProductToken == other.creditProductToken && + externalBankAccountToken == other.externalBankAccountToken && + financialAccountState == other.financialAccountState && + isSpendBlocked == other.isSpendBlocked && + tier == other.tier && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(accountToken, chargedOffReason, creditLimit, creditProductToken, externalBankAccountToken, financialAccountState, isSpendBlocked, tier, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + accountToken, + chargedOffReason, + creditLimit, + creditProductToken, + externalBankAccountToken, + financialAccountState, + isSpendBlocked, + tier, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfigurationRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfigurationRetrieveParams.kt index 3e588653a..4f4d00482 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfigurationRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfigurationRetrieveParams.kt @@ -195,10 +195,14 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountCreditConfigurationRetrieveParams && financialAccountToken == other.financialAccountToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountCreditConfigurationRetrieveParams && + financialAccountToken == other.financialAccountToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(financialAccountToken, additionalHeaders, additionalQueryParams) override fun toString() = "FinancialAccountCreditConfigurationRetrieveParams{financialAccountToken=$financialAccountToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfigurationUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfigurationUpdateParams.kt index 2996ad1bb..b430b4669 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfigurationUpdateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountCreditConfigurationUpdateParams.kt @@ -609,13 +609,24 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountCreditConfigRequest && creditLimit == other.creditLimit && creditProductToken == other.creditProductToken && externalBankAccountToken == other.externalBankAccountToken && tier == other.tier && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialAccountCreditConfigRequest && + creditLimit == other.creditLimit && + creditProductToken == other.creditProductToken && + externalBankAccountToken == other.externalBankAccountToken && + tier == other.tier && + additionalProperties == other.additionalProperties + } + + private val hashCode: Int by lazy { + Objects.hash( + creditLimit, + creditProductToken, + externalBankAccountToken, + tier, + additionalProperties, + ) } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(creditLimit, creditProductToken, externalBankAccountToken, tier, additionalProperties) } - /* spotless:on */ - override fun hashCode(): Int = hashCode override fun toString() = @@ -627,10 +638,15 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountCreditConfigurationUpdateParams && financialAccountToken == other.financialAccountToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountCreditConfigurationUpdateParams && + financialAccountToken == other.financialAccountToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(financialAccountToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "FinancialAccountCreditConfigurationUpdateParams{financialAccountToken=$financialAccountToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPage.kt index 39196b6c6..8b65afd5e 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPage.kt @@ -118,10 +118,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "FinancialAccountListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPageAsync.kt index d7e521621..f083c7302 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPageAsync.kt @@ -133,10 +133,14 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "FinancialAccountListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPageResponse.kt index b8e32dec8..ec06aec3d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListPageResponse.kt @@ -212,12 +212,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialAccountListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListParams.kt index 761863782..e82603d11 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountListParams.kt @@ -347,7 +347,7 @@ private constructor( return true } - return /* spotless:off */ other is Type && value == other.value /* spotless:on */ + return other is Type && value == other.value } override fun hashCode() = value.hashCode() @@ -360,10 +360,22 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountListParams && accountToken == other.accountToken && businessAccountToken == other.businessAccountToken && type == other.type && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountListParams && + accountToken == other.accountToken && + businessAccountToken == other.businessAccountToken && + type == other.type && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(accountToken, businessAccountToken, type, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + accountToken, + businessAccountToken, + type, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "FinancialAccountListParams{accountToken=$accountToken, businessAccountToken=$businessAccountToken, type=$type, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPage.kt index 09d5e7c38..d0ac41829 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPage.kt @@ -123,10 +123,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountLoanTapeListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountLoanTapeListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "FinancialAccountLoanTapeListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPageAsync.kt index 08596ee41..5111ad850 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPageAsync.kt @@ -137,10 +137,14 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountLoanTapeListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountLoanTapeListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "FinancialAccountLoanTapeListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPageResponse.kt index 9cb58d151..13444241a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListPageResponse.kt @@ -211,12 +211,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountLoanTapeListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialAccountLoanTapeListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListParams.kt index 5a2f86667..87fd1ddb2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeListParams.kt @@ -301,10 +301,28 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountLoanTapeListParams && financialAccountToken == other.financialAccountToken && begin == other.begin && end == other.end && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountLoanTapeListParams && + financialAccountToken == other.financialAccountToken && + begin == other.begin && + end == other.end && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, begin, end, endingBefore, pageSize, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + financialAccountToken, + begin, + end, + endingBefore, + pageSize, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "FinancialAccountLoanTapeListParams{financialAccountToken=$financialAccountToken, begin=$begin, end=$end, endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeRetrieveParams.kt index 4cdcc4ad6..47d44909d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountLoanTapeRetrieveParams.kt @@ -213,10 +213,15 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountLoanTapeRetrieveParams && financialAccountToken == other.financialAccountToken && loanTapeToken == other.loanTapeToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountLoanTapeRetrieveParams && + financialAccountToken == other.financialAccountToken && + loanTapeToken == other.loanTapeToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, loanTapeToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(financialAccountToken, loanTapeToken, additionalHeaders, additionalQueryParams) override fun toString() = "FinancialAccountLoanTapeRetrieveParams{financialAccountToken=$financialAccountToken, loanTapeToken=$loanTapeToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountRegisterAccountNumberParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountRegisterAccountNumberParams.kt index e757736d3..bf13b0319 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountRegisterAccountNumberParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountRegisterAccountNumberParams.kt @@ -425,12 +425,12 @@ private constructor( return true } - return /* spotless:off */ other is RegisterAccountNumberRequest && accountNumber == other.accountNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is RegisterAccountNumberRequest && + accountNumber == other.accountNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(accountNumber, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -443,10 +443,15 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountRegisterAccountNumberParams && financialAccountToken == other.financialAccountToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountRegisterAccountNumberParams && + financialAccountToken == other.financialAccountToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(financialAccountToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "FinancialAccountRegisterAccountNumberParams{financialAccountToken=$financialAccountToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountRetrieveParams.kt index 5d3c0df21..1a255c748 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountRetrieveParams.kt @@ -189,10 +189,14 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountRetrieveParams && financialAccountToken == other.financialAccountToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountRetrieveParams && + financialAccountToken == other.financialAccountToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(financialAccountToken, additionalHeaders, additionalQueryParams) override fun toString() = "FinancialAccountRetrieveParams{financialAccountToken=$financialAccountToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListPage.kt index 58a04c6e5..f434fc5a2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListPage.kt @@ -126,10 +126,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatementLineItemListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountStatementLineItemListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "FinancialAccountStatementLineItemListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListPageAsync.kt index 5830c692f..40c0f125c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListPageAsync.kt @@ -141,10 +141,14 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatementLineItemListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountStatementLineItemListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "FinancialAccountStatementLineItemListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListParams.kt index 27a6fbc47..b6d984656 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementLineItemListParams.kt @@ -282,10 +282,26 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatementLineItemListParams && financialAccountToken == other.financialAccountToken && statementToken == other.statementToken && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountStatementLineItemListParams && + financialAccountToken == other.financialAccountToken && + statementToken == other.statementToken && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, statementToken, endingBefore, pageSize, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + financialAccountToken, + statementToken, + endingBefore, + pageSize, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "FinancialAccountStatementLineItemListParams{financialAccountToken=$financialAccountToken, statementToken=$statementToken, endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListPage.kt index cc52f633b..22c6b8a93 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListPage.kt @@ -121,10 +121,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatementListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountStatementListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "FinancialAccountStatementListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListPageAsync.kt index d80845dc6..0548cd519 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListPageAsync.kt @@ -135,10 +135,14 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatementListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is FinancialAccountStatementListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "FinancialAccountStatementListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListParams.kt index 8b6c3a47c..065cfdf97 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementListParams.kt @@ -331,10 +331,30 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatementListParams && financialAccountToken == other.financialAccountToken && begin == other.begin && end == other.end && endingBefore == other.endingBefore && includeInitialStatements == other.includeInitialStatements && pageSize == other.pageSize && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountStatementListParams && + financialAccountToken == other.financialAccountToken && + begin == other.begin && + end == other.end && + endingBefore == other.endingBefore && + includeInitialStatements == other.includeInitialStatements && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, begin, end, endingBefore, includeInitialStatements, pageSize, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + financialAccountToken, + begin, + end, + endingBefore, + includeInitialStatements, + pageSize, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "FinancialAccountStatementListParams{financialAccountToken=$financialAccountToken, begin=$begin, end=$end, endingBefore=$endingBefore, includeInitialStatements=$includeInitialStatements, pageSize=$pageSize, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementRetrieveParams.kt index c462de33b..8a8c25bb9 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountStatementRetrieveParams.kt @@ -214,10 +214,20 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatementRetrieveParams && financialAccountToken == other.financialAccountToken && statementToken == other.statementToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountStatementRetrieveParams && + financialAccountToken == other.financialAccountToken && + statementToken == other.statementToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, statementToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + financialAccountToken, + statementToken, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "FinancialAccountStatementRetrieveParams{financialAccountToken=$financialAccountToken, statementToken=$statementToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountUpdateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountUpdateParams.kt index a34a24fae..2aa2b3a28 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountUpdateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountUpdateParams.kt @@ -383,12 +383,12 @@ private constructor( return true } - return /* spotless:off */ other is UpdateFinancialAccountRequest && nickname == other.nickname && additionalProperties == other.additionalProperties /* spotless:on */ + return other is UpdateFinancialAccountRequest && + nickname == other.nickname && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(nickname, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -401,10 +401,15 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountUpdateParams && financialAccountToken == other.financialAccountToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountUpdateParams && + financialAccountToken == other.financialAccountToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(financialAccountToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "FinancialAccountUpdateParams{financialAccountToken=$financialAccountToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountUpdateStatusParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountUpdateStatusParams.kt index 1aed196b3..7107af0ea 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountUpdateStatusParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialAccountUpdateStatusParams.kt @@ -513,12 +513,13 @@ private constructor( return true } - return /* spotless:off */ other is UpdateFinancialAccountStatusRequest && status == other.status && substatus == other.substatus && additionalProperties == other.additionalProperties /* spotless:on */ + return other is UpdateFinancialAccountStatusRequest && + status == other.status && + substatus == other.substatus && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(status, substatus, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -663,7 +664,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatus && value == other.value /* spotless:on */ + return other is FinancialAccountStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -811,7 +812,7 @@ private constructor( return true } - return /* spotless:off */ other is UpdateFinancialAccountSubstatus && value == other.value /* spotless:on */ + return other is UpdateFinancialAccountSubstatus && value == other.value } override fun hashCode() = value.hashCode() @@ -824,10 +825,15 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountUpdateStatusParams && financialAccountToken == other.financialAccountToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialAccountUpdateStatusParams && + financialAccountToken == other.financialAccountToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(financialAccountToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "FinancialAccountUpdateStatusParams{financialAccountToken=$financialAccountToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransaction.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransaction.kt index c3bf01a84..c0991d9b2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransaction.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransaction.kt @@ -744,7 +744,7 @@ private constructor( return true } - return /* spotless:off */ other is Category && value == other.value /* spotless:on */ + return other is Category && value == other.value } override fun hashCode() = value.hashCode() @@ -1150,7 +1150,7 @@ private constructor( return true } - return /* spotless:off */ other is Result && value == other.value /* spotless:on */ + return other is Result && value == other.value } override fun hashCode() = value.hashCode() @@ -1680,7 +1680,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialEventType && value == other.value /* spotless:on */ + return other is FinancialEventType && value == other.value } override fun hashCode() = value.hashCode() @@ -1693,12 +1693,18 @@ private constructor( return true } - return /* spotless:off */ other is FinancialEvent && token == other.token && amount == other.amount && created == other.created && result == other.result && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialEvent && + token == other.token && + amount == other.amount && + created == other.created && + result == other.result && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, amount, created, result, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(token, amount, created, result, type, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -1827,7 +1833,7 @@ private constructor( return true } - return /* spotless:off */ other is Result && value == other.value /* spotless:on */ + return other is Result && value == other.value } override fun hashCode() = value.hashCode() @@ -1985,7 +1991,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -1998,12 +2004,37 @@ private constructor( return true } - return /* spotless:off */ other is FinancialTransaction && token == other.token && category == other.category && created == other.created && currency == other.currency && descriptor == other.descriptor && events == other.events && pendingAmount == other.pendingAmount && result == other.result && settledAmount == other.settledAmount && status == other.status && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialTransaction && + token == other.token && + category == other.category && + created == other.created && + currency == other.currency && + descriptor == other.descriptor && + events == other.events && + pendingAmount == other.pendingAmount && + result == other.result && + settledAmount == other.settledAmount && + status == other.status && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, category, created, currency, descriptor, events, pendingAmount, result, settledAmount, status, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + category, + created, + currency, + descriptor, + events, + pendingAmount, + result, + settledAmount, + status, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPage.kt index 61ec98e5a..044f73601 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPage.kt @@ -118,10 +118,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialTransactionListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is FinancialTransactionListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "FinancialTransactionListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPageAsync.kt index f3c36e3ec..b82380681 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPageAsync.kt @@ -134,10 +134,14 @@ private constructor( return true } - return /* spotless:off */ other is FinancialTransactionListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is FinancialTransactionListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "FinancialTransactionListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPageResponse.kt index 17a6b57b5..a88165738 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListPageResponse.kt @@ -216,12 +216,13 @@ private constructor( return true } - return /* spotless:off */ other is FinancialTransactionListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialTransactionListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListParams.kt index 22a3e4c5e..7e91ec40a 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionListParams.kt @@ -448,7 +448,7 @@ private constructor( return true } - return /* spotless:off */ other is Category && value == other.value /* spotless:on */ + return other is Category && value == other.value } override fun hashCode() = value.hashCode() @@ -574,7 +574,7 @@ private constructor( return true } - return /* spotless:off */ other is Result && value == other.value /* spotless:on */ + return other is Result && value == other.value } override fun hashCode() = value.hashCode() @@ -724,7 +724,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -737,10 +737,32 @@ private constructor( return true } - return /* spotless:off */ other is FinancialTransactionListParams && financialAccountToken == other.financialAccountToken && begin == other.begin && category == other.category && end == other.end && endingBefore == other.endingBefore && result == other.result && startingAfter == other.startingAfter && status == other.status && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialTransactionListParams && + financialAccountToken == other.financialAccountToken && + begin == other.begin && + category == other.category && + end == other.end && + endingBefore == other.endingBefore && + result == other.result && + startingAfter == other.startingAfter && + status == other.status && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, begin, category, end, endingBefore, result, startingAfter, status, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + financialAccountToken, + begin, + category, + end, + endingBefore, + result, + startingAfter, + status, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "FinancialTransactionListParams{financialAccountToken=$financialAccountToken, begin=$begin, category=$category, end=$end, endingBefore=$endingBefore, result=$result, startingAfter=$startingAfter, status=$status, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionRetrieveParams.kt index 0758fd0fc..71ab75cdd 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FinancialTransactionRetrieveParams.kt @@ -215,10 +215,20 @@ private constructor( return true } - return /* spotless:off */ other is FinancialTransactionRetrieveParams && financialAccountToken == other.financialAccountToken && financialTransactionToken == other.financialTransactionToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FinancialTransactionRetrieveParams && + financialAccountToken == other.financialAccountToken && + financialTransactionToken == other.financialTransactionToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(financialAccountToken, financialTransactionToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + financialAccountToken, + financialTransactionToken, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "FinancialTransactionRetrieveParams{financialAccountToken=$financialAccountToken, financialTransactionToken=$financialTransactionToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FraudTransactionReportParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FraudTransactionReportParams.kt index 87ddcafa9..2087d73a8 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FraudTransactionReportParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FraudTransactionReportParams.kt @@ -666,12 +666,16 @@ private constructor( return true } - return /* spotless:off */ other is FraudReportRequest && fraudStatus == other.fraudStatus && comment == other.comment && fraudType == other.fraudType && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FraudReportRequest && + fraudStatus == other.fraudStatus && + comment == other.comment && + fraudType == other.fraudType && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(fraudStatus, comment, fraudType, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(fraudStatus, comment, fraudType, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -815,7 +819,7 @@ private constructor( return true } - return /* spotless:off */ other is FraudStatus && value == other.value /* spotless:on */ + return other is FraudStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -980,7 +984,7 @@ private constructor( return true } - return /* spotless:off */ other is FraudType && value == other.value /* spotless:on */ + return other is FraudType && value == other.value } override fun hashCode() = value.hashCode() @@ -993,10 +997,15 @@ private constructor( return true } - return /* spotless:off */ other is FraudTransactionReportParams && transactionToken == other.transactionToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FraudTransactionReportParams && + transactionToken == other.transactionToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(transactionToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(transactionToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "FraudTransactionReportParams{transactionToken=$transactionToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FraudTransactionRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FraudTransactionRetrieveParams.kt index 8ea71cdaf..b11e7c86b 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FraudTransactionRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FraudTransactionRetrieveParams.kt @@ -188,10 +188,14 @@ private constructor( return true } - return /* spotless:off */ other is FraudTransactionRetrieveParams && transactionToken == other.transactionToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FraudTransactionRetrieveParams && + transactionToken == other.transactionToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(transactionToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(transactionToken, additionalHeaders, additionalQueryParams) override fun toString() = "FraudTransactionRetrieveParams{transactionToken=$transactionToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPage.kt index 81a042601..367d6364c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPage.kt @@ -120,10 +120,13 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is FundingEventListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "FundingEventListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPageAsync.kt index 2083f6d5d..7fd8db0a0 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPageAsync.kt @@ -134,10 +134,14 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is FundingEventListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "FundingEventListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPageResponse.kt index a37f0b8dd..b57e647e6 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListPageResponse.kt @@ -214,12 +214,13 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FundingEventListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListParams.kt index 64a729a92..991bef5a0 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListParams.kt @@ -230,10 +230,22 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventListParams && endingBefore == other.endingBefore && pageSize == other.pageSize && startingAfter == other.startingAfter && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FundingEventListParams && + endingBefore == other.endingBefore && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(endingBefore, pageSize, startingAfter, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + endingBefore, + pageSize, + startingAfter, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "FundingEventListParams{endingBefore=$endingBefore, pageSize=$pageSize, startingAfter=$startingAfter, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListResponse.kt index c18a1bec3..f76f4b5eb 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventListResponse.kt @@ -629,7 +629,7 @@ private constructor( return true } - return /* spotless:off */ other is CollectionResourceType && value == other.value /* spotless:on */ + return other is CollectionResourceType && value == other.value } override fun hashCode() = value.hashCode() @@ -831,12 +831,15 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventSettlement && networkSettlementDate == other.networkSettlementDate && settledGrossAmount == other.settledGrossAmount && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FundingEventSettlement && + networkSettlementDate == other.networkSettlementDate && + settledGrossAmount == other.settledGrossAmount && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(networkSettlementDate, settledGrossAmount, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(networkSettlementDate, settledGrossAmount, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -849,12 +852,31 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventListResponse && token == other.token && collectionResourceType == other.collectionResourceType && collectionTokens == other.collectionTokens && created == other.created && highWatermark == other.highWatermark && networkSettlementSummary == other.networkSettlementSummary && previousHighWatermark == other.previousHighWatermark && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FundingEventListResponse && + token == other.token && + collectionResourceType == other.collectionResourceType && + collectionTokens == other.collectionTokens && + created == other.created && + highWatermark == other.highWatermark && + networkSettlementSummary == other.networkSettlementSummary && + previousHighWatermark == other.previousHighWatermark && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, collectionResourceType, collectionTokens, created, highWatermark, networkSettlementSummary, previousHighWatermark, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + collectionResourceType, + collectionTokens, + created, + highWatermark, + networkSettlementSummary, + previousHighWatermark, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveDetailsParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveDetailsParams.kt index fd76a8b9d..fb8291abd 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveDetailsParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveDetailsParams.kt @@ -188,10 +188,14 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventRetrieveDetailsParams && fundingEventToken == other.fundingEventToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FundingEventRetrieveDetailsParams && + fundingEventToken == other.fundingEventToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(fundingEventToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(fundingEventToken, additionalHeaders, additionalQueryParams) override fun toString() = "FundingEventRetrieveDetailsParams{fundingEventToken=$fundingEventToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveDetailsResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveDetailsResponse.kt index 80d89fc08..48671801d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveDetailsResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveDetailsResponse.kt @@ -252,12 +252,16 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventRetrieveDetailsResponse && token == other.token && settlementDetailsUrl == other.settlementDetailsUrl && settlementSummaryUrl == other.settlementSummaryUrl && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FundingEventRetrieveDetailsResponse && + token == other.token && + settlementDetailsUrl == other.settlementDetailsUrl && + settlementSummaryUrl == other.settlementSummaryUrl && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, settlementDetailsUrl, settlementSummaryUrl, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(token, settlementDetailsUrl, settlementSummaryUrl, additionalProperties) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveParams.kt index 6bd26050d..886ff437c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveParams.kt @@ -185,10 +185,14 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventRetrieveParams && fundingEventToken == other.fundingEventToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is FundingEventRetrieveParams && + fundingEventToken == other.fundingEventToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(fundingEventToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(fundingEventToken, additionalHeaders, additionalQueryParams) override fun toString() = "FundingEventRetrieveParams{fundingEventToken=$fundingEventToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveResponse.kt index 4785fc1e8..f0459462d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/FundingEventRetrieveResponse.kt @@ -630,7 +630,7 @@ private constructor( return true } - return /* spotless:off */ other is CollectionResourceType && value == other.value /* spotless:on */ + return other is CollectionResourceType && value == other.value } override fun hashCode() = value.hashCode() @@ -832,12 +832,15 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventSettlement && networkSettlementDate == other.networkSettlementDate && settledGrossAmount == other.settledGrossAmount && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FundingEventSettlement && + networkSettlementDate == other.networkSettlementDate && + settledGrossAmount == other.settledGrossAmount && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(networkSettlementDate, settledGrossAmount, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(networkSettlementDate, settledGrossAmount, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -850,12 +853,31 @@ private constructor( return true } - return /* spotless:off */ other is FundingEventRetrieveResponse && token == other.token && collectionResourceType == other.collectionResourceType && collectionTokens == other.collectionTokens && created == other.created && highWatermark == other.highWatermark && networkSettlementSummary == other.networkSettlementSummary && previousHighWatermark == other.previousHighWatermark && updated == other.updated && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FundingEventRetrieveResponse && + token == other.token && + collectionResourceType == other.collectionResourceType && + collectionTokens == other.collectionTokens && + created == other.created && + highWatermark == other.highWatermark && + networkSettlementSummary == other.networkSettlementSummary && + previousHighWatermark == other.previousHighWatermark && + updated == other.updated && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, collectionResourceType, collectionTokens, created, highWatermark, networkSettlementSummary, previousHighWatermark, updated, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + collectionResourceType, + collectionTokens, + created, + highWatermark, + networkSettlementSummary, + previousHighWatermark, + updated, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/InstanceFinancialAccountType.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/InstanceFinancialAccountType.kt index d12997ab0..5310cfd9c 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/InstanceFinancialAccountType.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/InstanceFinancialAccountType.kt @@ -171,7 +171,7 @@ private constructor(private val value: JsonField) : Enum { return true } - return /* spotless:off */ other is InstanceFinancialAccountType && value == other.value /* spotless:on */ + return other is InstanceFinancialAccountType && value == other.value } override fun hashCode() = value.hashCode() diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyb.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyb.kt index 1a6fbeedd..4c16499b7 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyb.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyb.kt @@ -1026,12 +1026,29 @@ private constructor( return true } - return /* spotless:off */ other is KybIndividual && address == other.address && dob == other.dob && email == other.email && firstName == other.firstName && governmentId == other.governmentId && lastName == other.lastName && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is KybIndividual && + address == other.address && + dob == other.dob && + email == other.email && + firstName == other.firstName && + governmentId == other.governmentId && + lastName == other.lastName && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, dob, email, firstName, governmentId, lastName, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + dob, + email, + firstName, + governmentId, + lastName, + phoneNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1432,12 +1449,27 @@ private constructor( return true } - return /* spotless:off */ other is BusinessEntity && address == other.address && governmentId == other.governmentId && legalBusinessName == other.legalBusinessName && phoneNumbers == other.phoneNumbers && dbaBusinessName == other.dbaBusinessName && parentCompany == other.parentCompany && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BusinessEntity && + address == other.address && + governmentId == other.governmentId && + legalBusinessName == other.legalBusinessName && + phoneNumbers == other.phoneNumbers && + dbaBusinessName == other.dbaBusinessName && + parentCompany == other.parentCompany && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, governmentId, legalBusinessName, phoneNumbers, dbaBusinessName, parentCompany, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + governmentId, + legalBusinessName, + phoneNumbers, + dbaBusinessName, + parentCompany, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1563,7 +1595,7 @@ private constructor( return true } - return /* spotless:off */ other is Workflow && value == other.value /* spotless:on */ + return other is Workflow && value == other.value } override fun hashCode() = value.hashCode() @@ -1576,12 +1608,35 @@ private constructor( return true } - return /* spotless:off */ other is Kyb && beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && businessEntity == other.businessEntity && controlPerson == other.controlPerson && natureOfBusiness == other.natureOfBusiness && tosTimestamp == other.tosTimestamp && workflow == other.workflow && beneficialOwnerEntities == other.beneficialOwnerEntities && externalId == other.externalId && kybPassedTimestamp == other.kybPassedTimestamp && websiteUrl == other.websiteUrl && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Kyb && + beneficialOwnerIndividuals == other.beneficialOwnerIndividuals && + businessEntity == other.businessEntity && + controlPerson == other.controlPerson && + natureOfBusiness == other.natureOfBusiness && + tosTimestamp == other.tosTimestamp && + workflow == other.workflow && + beneficialOwnerEntities == other.beneficialOwnerEntities && + externalId == other.externalId && + kybPassedTimestamp == other.kybPassedTimestamp && + websiteUrl == other.websiteUrl && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(beneficialOwnerIndividuals, businessEntity, controlPerson, natureOfBusiness, tosTimestamp, workflow, beneficialOwnerEntities, externalId, kybPassedTimestamp, websiteUrl, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + beneficialOwnerIndividuals, + businessEntity, + controlPerson, + natureOfBusiness, + tosTimestamp, + workflow, + beneficialOwnerEntities, + externalId, + kybPassedTimestamp, + websiteUrl, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/KybBusinessEntity.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/KybBusinessEntity.kt index 16ce01be5..f859922bf 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/KybBusinessEntity.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/KybBusinessEntity.kt @@ -747,12 +747,19 @@ private constructor( return true } - return /* spotless:off */ other is Address && address1 == other.address1 && city == other.city && country == other.country && postalCode == other.postalCode && state == other.state && address2 == other.address2 && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Address && + address1 == other.address1 && + city == other.city && + country == other.country && + postalCode == other.postalCode && + state == other.state && + address2 == other.address2 && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(address1, city, country, postalCode, state, address2, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -765,12 +772,27 @@ private constructor( return true } - return /* spotless:off */ other is KybBusinessEntity && address == other.address && governmentId == other.governmentId && legalBusinessName == other.legalBusinessName && phoneNumbers == other.phoneNumbers && dbaBusinessName == other.dbaBusinessName && parentCompany == other.parentCompany && additionalProperties == other.additionalProperties /* spotless:on */ + return other is KybBusinessEntity && + address == other.address && + governmentId == other.governmentId && + legalBusinessName == other.legalBusinessName && + phoneNumbers == other.phoneNumbers && + dbaBusinessName == other.dbaBusinessName && + parentCompany == other.parentCompany && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, governmentId, legalBusinessName, phoneNumbers, dbaBusinessName, parentCompany, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + governmentId, + legalBusinessName, + phoneNumbers, + dbaBusinessName, + parentCompany, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyc.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyc.kt index c68d56d7e..3e3d552ad 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyc.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyc.kt @@ -740,12 +740,29 @@ private constructor( return true } - return /* spotless:off */ other is Individual && address == other.address && dob == other.dob && email == other.email && firstName == other.firstName && governmentId == other.governmentId && lastName == other.lastName && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Individual && + address == other.address && + dob == other.dob && + email == other.email && + firstName == other.firstName && + governmentId == other.governmentId && + lastName == other.lastName && + phoneNumber == other.phoneNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, dob, email, firstName, governmentId, lastName, phoneNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + dob, + email, + firstName, + governmentId, + lastName, + phoneNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -871,7 +888,7 @@ private constructor( return true } - return /* spotless:off */ other is Workflow && value == other.value /* spotless:on */ + return other is Workflow && value == other.value } override fun hashCode() = value.hashCode() @@ -884,12 +901,25 @@ private constructor( return true } - return /* spotless:off */ other is Kyc && individual == other.individual && tosTimestamp == other.tosTimestamp && workflow == other.workflow && externalId == other.externalId && kycPassedTimestamp == other.kycPassedTimestamp && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Kyc && + individual == other.individual && + tosTimestamp == other.tosTimestamp && + workflow == other.workflow && + externalId == other.externalId && + kycPassedTimestamp == other.kycPassedTimestamp && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(individual, tosTimestamp, workflow, externalId, kycPassedTimestamp, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + individual, + tosTimestamp, + workflow, + externalId, + kycPassedTimestamp, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/KycExempt.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/KycExempt.kt index e18194091..084f86637 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/KycExempt.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/KycExempt.kt @@ -606,7 +606,7 @@ private constructor( return true } - return /* spotless:off */ other is KycExemptionType && value == other.value /* spotless:on */ + return other is KycExemptionType && value == other.value } override fun hashCode() = value.hashCode() @@ -726,7 +726,7 @@ private constructor( return true } - return /* spotless:off */ other is Workflow && value == other.value /* spotless:on */ + return other is Workflow && value == other.value } override fun hashCode() = value.hashCode() @@ -739,12 +739,33 @@ private constructor( return true } - return /* spotless:off */ other is KycExempt && address == other.address && email == other.email && firstName == other.firstName && kycExemptionType == other.kycExemptionType && lastName == other.lastName && phoneNumber == other.phoneNumber && workflow == other.workflow && businessAccountToken == other.businessAccountToken && externalId == other.externalId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is KycExempt && + address == other.address && + email == other.email && + firstName == other.firstName && + kycExemptionType == other.kycExemptionType && + lastName == other.lastName && + phoneNumber == other.phoneNumber && + workflow == other.workflow && + businessAccountToken == other.businessAccountToken && + externalId == other.externalId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(address, email, firstName, kycExemptionType, lastName, phoneNumber, workflow, businessAccountToken, externalId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + address, + email, + firstName, + kycExemptionType, + lastName, + phoneNumber, + workflow, + businessAccountToken, + externalId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/LoanTape.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/LoanTape.kt index 9455e9fdd..d445a5706 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/LoanTape.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/LoanTape.kt @@ -1828,7 +1828,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountStatus && value == other.value /* spotless:on */ + return other is FinancialAccountStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1985,7 +1985,7 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountSubstatus && value == other.value /* spotless:on */ + return other is FinancialAccountSubstatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1998,12 +1998,15 @@ private constructor( return true } - return /* spotless:off */ other is FinancialAccountState && status == other.status && substatus == other.substatus && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FinancialAccountState && + status == other.status && + substatus == other.substatus && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(status, substatus, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(status, substatus, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -2140,7 +2143,7 @@ private constructor( return true } - return /* spotless:off */ other is PeriodState && value == other.value /* spotless:on */ + return other is PeriodState && value == other.value } override fun hashCode() = value.hashCode() @@ -2153,12 +2156,31 @@ private constructor( return true } - return /* spotless:off */ other is AccountStanding && consecutiveFullPaymentsMade == other.consecutiveFullPaymentsMade && consecutiveMinimumPaymentsMade == other.consecutiveMinimumPaymentsMade && consecutiveMinimumPaymentsMissed == other.consecutiveMinimumPaymentsMissed && daysPastDue == other.daysPastDue && financialAccountState == other.financialAccountState && hasGrace == other.hasGrace && periodNumber == other.periodNumber && periodState == other.periodState && additionalProperties == other.additionalProperties /* spotless:on */ + return other is AccountStanding && + consecutiveFullPaymentsMade == other.consecutiveFullPaymentsMade && + consecutiveMinimumPaymentsMade == other.consecutiveMinimumPaymentsMade && + consecutiveMinimumPaymentsMissed == other.consecutiveMinimumPaymentsMissed && + daysPastDue == other.daysPastDue && + financialAccountState == other.financialAccountState && + hasGrace == other.hasGrace && + periodNumber == other.periodNumber && + periodState == other.periodState && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(consecutiveFullPaymentsMade, consecutiveMinimumPaymentsMade, consecutiveMinimumPaymentsMissed, daysPastDue, financialAccountState, hasGrace, periodNumber, periodState, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + consecutiveFullPaymentsMade, + consecutiveMinimumPaymentsMade, + consecutiveMinimumPaymentsMissed, + daysPastDue, + financialAccountState, + hasGrace, + periodNumber, + periodState, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2674,12 +2696,16 @@ private constructor( return true } - return /* spotless:off */ other is CategoryBalances && fees == other.fees && interest == other.interest && principal == other.principal && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CategoryBalances && + fees == other.fees && + interest == other.interest && + principal == other.principal && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(fees, interest, principal, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(fees, interest, principal, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -2692,12 +2718,17 @@ private constructor( return true } - return /* spotless:off */ other is Balances && due == other.due && nextStatementDue == other.nextStatementDue && pastDue == other.pastDue && pastStatementsDue == other.pastStatementsDue && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Balances && + due == other.due && + nextStatementDue == other.nextStatementDue && + pastDue == other.pastDue && + pastStatementsDue == other.pastStatementsDue && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(due, nextStatementDue, pastDue, pastStatementsDue, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(due, nextStatementDue, pastDue, pastStatementsDue, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3095,12 +3126,29 @@ private constructor( return true } - return /* spotless:off */ other is StatementTotals && balanceTransfers == other.balanceTransfers && cashAdvances == other.cashAdvances && credits == other.credits && fees == other.fees && interest == other.interest && payments == other.payments && purchases == other.purchases && additionalProperties == other.additionalProperties /* spotless:on */ + return other is StatementTotals && + balanceTransfers == other.balanceTransfers && + cashAdvances == other.cashAdvances && + credits == other.credits && + fees == other.fees && + interest == other.interest && + payments == other.payments && + purchases == other.purchases && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(balanceTransfers, cashAdvances, credits, fees, interest, payments, purchases, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + balanceTransfers, + cashAdvances, + credits, + fees, + interest, + payments, + purchases, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -3777,12 +3825,16 @@ private constructor( return true } - return /* spotless:off */ other is CategoryDetails && balanceTransfers == other.balanceTransfers && cashAdvances == other.cashAdvances && purchases == other.purchases && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CategoryDetails && + balanceTransfers == other.balanceTransfers && + cashAdvances == other.cashAdvances && + purchases == other.purchases && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(balanceTransfers, cashAdvances, purchases, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(balanceTransfers, cashAdvances, purchases, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -3919,7 +3971,7 @@ private constructor( return true } - return /* spotless:off */ other is InterestCalculationMethod && value == other.value /* spotless:on */ + return other is InterestCalculationMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -3932,12 +3984,29 @@ private constructor( return true } - return /* spotless:off */ other is InterestDetails && actualInterestCharged == other.actualInterestCharged && dailyBalanceAmounts == other.dailyBalanceAmounts && effectiveApr == other.effectiveApr && interestCalculationMethod == other.interestCalculationMethod && interestForPeriod == other.interestForPeriod && primeRate == other.primeRate && minimumInterestCharged == other.minimumInterestCharged && additionalProperties == other.additionalProperties /* spotless:on */ + return other is InterestDetails && + actualInterestCharged == other.actualInterestCharged && + dailyBalanceAmounts == other.dailyBalanceAmounts && + effectiveApr == other.effectiveApr && + interestCalculationMethod == other.interestCalculationMethod && + interestForPeriod == other.interestForPeriod && + primeRate == other.primeRate && + minimumInterestCharged == other.minimumInterestCharged && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(actualInterestCharged, dailyBalanceAmounts, effectiveApr, interestCalculationMethod, interestForPeriod, primeRate, minimumInterestCharged, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + actualInterestCharged, + dailyBalanceAmounts, + effectiveApr, + interestCalculationMethod, + interestForPeriod, + primeRate, + minimumInterestCharged, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -4122,12 +4191,13 @@ private constructor( return true } - return /* spotless:off */ other is BalanceDetails && amount == other.amount && remaining == other.remaining && additionalProperties == other.additionalProperties /* spotless:on */ + return other is BalanceDetails && + amount == other.amount && + remaining == other.remaining && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(amount, remaining, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode @@ -4345,12 +4415,16 @@ private constructor( return true } - return /* spotless:off */ other is CategoryBalances && fees == other.fees && interest == other.interest && principal == other.principal && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CategoryBalances && + fees == other.fees && + interest == other.interest && + principal == other.principal && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(fees, interest, principal, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(fees, interest, principal, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -4363,12 +4437,59 @@ private constructor( return true } - return /* spotless:off */ other is LoanTape && token == other.token && accountStanding == other.accountStanding && availableCredit == other.availableCredit && balances == other.balances && created == other.created && creditLimit == other.creditLimit && creditProductToken == other.creditProductToken && date == other.date && dayTotals == other.dayTotals && endingBalance == other.endingBalance && excessCredits == other.excessCredits && financialAccountToken == other.financialAccountToken && interestDetails == other.interestDetails && minimumPaymentBalance == other.minimumPaymentBalance && paymentAllocation == other.paymentAllocation && periodTotals == other.periodTotals && previousStatementBalance == other.previousStatementBalance && startingBalance == other.startingBalance && updated == other.updated && version == other.version && ytdTotals == other.ytdTotals && tier == other.tier && additionalProperties == other.additionalProperties /* spotless:on */ + return other is LoanTape && + token == other.token && + accountStanding == other.accountStanding && + availableCredit == other.availableCredit && + balances == other.balances && + created == other.created && + creditLimit == other.creditLimit && + creditProductToken == other.creditProductToken && + date == other.date && + dayTotals == other.dayTotals && + endingBalance == other.endingBalance && + excessCredits == other.excessCredits && + financialAccountToken == other.financialAccountToken && + interestDetails == other.interestDetails && + minimumPaymentBalance == other.minimumPaymentBalance && + paymentAllocation == other.paymentAllocation && + periodTotals == other.periodTotals && + previousStatementBalance == other.previousStatementBalance && + startingBalance == other.startingBalance && + updated == other.updated && + version == other.version && + ytdTotals == other.ytdTotals && + tier == other.tier && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountStanding, availableCredit, balances, created, creditLimit, creditProductToken, date, dayTotals, endingBalance, excessCredits, financialAccountToken, interestDetails, minimumPaymentBalance, paymentAllocation, periodTotals, previousStatementBalance, startingBalance, updated, version, ytdTotals, tier, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountStanding, + availableCredit, + balances, + created, + creditLimit, + creditProductToken, + date, + dayTotals, + endingBalance, + excessCredits, + financialAccountToken, + interestDetails, + minimumPaymentBalance, + paymentAllocation, + periodTotals, + previousStatementBalance, + startingBalance, + updated, + version, + ytdTotals, + tier, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationCreateParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationCreateParams.kt index b15893f97..df21c6222 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationCreateParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationCreateParams.kt @@ -1055,12 +1055,37 @@ private constructor( return true } - return /* spotless:off */ other is CreateManagementOperationRequest && amount == other.amount && category == other.category && direction == other.direction && effectiveDate == other.effectiveDate && eventType == other.eventType && financialAccountToken == other.financialAccountToken && token == other.token && memo == other.memo && onClosedAccount == other.onClosedAccount && subtype == other.subtype && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is CreateManagementOperationRequest && + amount == other.amount && + category == other.category && + direction == other.direction && + effectiveDate == other.effectiveDate && + eventType == other.eventType && + financialAccountToken == other.financialAccountToken && + token == other.token && + memo == other.memo && + onClosedAccount == other.onClosedAccount && + subtype == other.subtype && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(amount, category, direction, effectiveDate, eventType, financialAccountToken, token, memo, onClosedAccount, subtype, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + amount, + category, + direction, + effectiveDate, + eventType, + financialAccountToken, + token, + memo, + onClosedAccount, + subtype, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1211,7 +1236,7 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationCategory && value == other.value /* spotless:on */ + return other is ManagementOperationCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -1344,7 +1369,7 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationDirection && value == other.value /* spotless:on */ + return other is ManagementOperationDirection && value == other.value } override fun hashCode() = value.hashCode() @@ -1579,7 +1604,7 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationEventType && value == other.value /* spotless:on */ + return other is ManagementOperationEventType && value == other.value } override fun hashCode() = value.hashCode() @@ -1709,7 +1734,7 @@ private constructor( return true } - return /* spotless:off */ other is OnClosedAccount && value == other.value /* spotless:on */ + return other is OnClosedAccount && value == other.value } override fun hashCode() = value.hashCode() @@ -1722,10 +1747,13 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationCreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ManagementOperationCreateParams && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams) override fun toString() = "ManagementOperationCreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPage.kt index f9c1c0db2..5d6058527 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPage.kt @@ -122,10 +122,13 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is ManagementOperationListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "ManagementOperationListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPageAsync.kt index 0839174d2..50179ac8b 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPageAsync.kt @@ -138,10 +138,14 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is ManagementOperationListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "ManagementOperationListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPageResponse.kt index 0a190f37f..4336fb243 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListPageResponse.kt @@ -215,12 +215,13 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ManagementOperationListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListParams.kt index c9d39befc..274692ebc 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationListParams.kt @@ -491,7 +491,7 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationCategory && value == other.value /* spotless:on */ + return other is ManagementOperationCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -639,7 +639,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -652,10 +652,34 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationListParams && begin == other.begin && businessAccountToken == other.businessAccountToken && category == other.category && end == other.end && endingBefore == other.endingBefore && financialAccountToken == other.financialAccountToken && pageSize == other.pageSize && startingAfter == other.startingAfter && status == other.status && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ManagementOperationListParams && + begin == other.begin && + businessAccountToken == other.businessAccountToken && + category == other.category && + end == other.end && + endingBefore == other.endingBefore && + financialAccountToken == other.financialAccountToken && + pageSize == other.pageSize && + startingAfter == other.startingAfter && + status == other.status && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(begin, businessAccountToken, category, end, endingBefore, financialAccountToken, pageSize, startingAfter, status, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash( + begin, + businessAccountToken, + category, + end, + endingBefore, + financialAccountToken, + pageSize, + startingAfter, + status, + additionalHeaders, + additionalQueryParams, + ) override fun toString() = "ManagementOperationListParams{begin=$begin, businessAccountToken=$businessAccountToken, category=$category, end=$end, endingBefore=$endingBefore, financialAccountToken=$financialAccountToken, pageSize=$pageSize, startingAfter=$startingAfter, status=$status, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationRetrieveParams.kt index 32cb93870..d746245c2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationRetrieveParams.kt @@ -192,10 +192,14 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationRetrieveParams && managementOperationToken == other.managementOperationToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ManagementOperationRetrieveParams && + managementOperationToken == other.managementOperationToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(managementOperationToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(managementOperationToken, additionalHeaders, additionalQueryParams) override fun toString() = "ManagementOperationRetrieveParams{managementOperationToken=$managementOperationToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationReverseParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationReverseParams.kt index 6ff8e24cb..3af1b84a3 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationReverseParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationReverseParams.kt @@ -480,12 +480,15 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationActionRequest && effectiveDate == other.effectiveDate && memo == other.memo && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ManagementOperationActionRequest && + effectiveDate == other.effectiveDate && + memo == other.memo && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(effectiveDate, memo, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(effectiveDate, memo, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -498,10 +501,15 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationReverseParams && managementOperationToken == other.managementOperationToken && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is ManagementOperationReverseParams && + managementOperationToken == other.managementOperationToken && + body == other.body && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(managementOperationToken, body, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(managementOperationToken, body, additionalHeaders, additionalQueryParams) override fun toString() = "ManagementOperationReverseParams{managementOperationToken=$managementOperationToken, body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationTransaction.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationTransaction.kt index 87fcf8937..fca2ef50b 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationTransaction.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/ManagementOperationTransaction.kt @@ -909,7 +909,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionFamilyTypes && value == other.value /* spotless:on */ + return other is TransactionFamilyTypes && value == other.value } override fun hashCode() = value.hashCode() @@ -1057,7 +1057,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionStatus && value == other.value /* spotless:on */ + return other is TransactionStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -1208,7 +1208,7 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationCategory && value == other.value /* spotless:on */ + return other is ManagementOperationCategory && value == other.value } override fun hashCode() = value.hashCode() @@ -1341,7 +1341,7 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationDirection && value == other.value /* spotless:on */ + return other is ManagementOperationDirection && value == other.value } override fun hashCode() = value.hashCode() @@ -1922,7 +1922,7 @@ private constructor( return true } - return /* spotless:off */ other is DetailedResults && value == other.value /* spotless:on */ + return other is DetailedResults && value == other.value } override fun hashCode() = value.hashCode() @@ -2055,7 +2055,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -2294,7 +2294,7 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationEventType && value == other.value /* spotless:on */ + return other is ManagementOperationEventType && value == other.value } override fun hashCode() = value.hashCode() @@ -2307,12 +2307,33 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationEvent && token == other.token && amount == other.amount && created == other.created && detailedResults == other.detailedResults && effectiveDate == other.effectiveDate && memo == other.memo && result == other.result && type == other.type && subtype == other.subtype && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ManagementOperationEvent && + token == other.token && + amount == other.amount && + created == other.created && + detailedResults == other.detailedResults && + effectiveDate == other.effectiveDate && + memo == other.memo && + result == other.result && + type == other.type && + subtype == other.subtype && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, amount, created, detailedResults, effectiveDate, memo, result, type, subtype, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + amount, + created, + detailedResults, + effectiveDate, + memo, + result, + type, + subtype, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2441,7 +2462,7 @@ private constructor( return true } - return /* spotless:off */ other is TransactionResult && value == other.value /* spotless:on */ + return other is TransactionResult && value == other.value } override fun hashCode() = value.hashCode() @@ -2692,12 +2713,21 @@ private constructor( return true } - return /* spotless:off */ other is TransactionSeries && relatedTransactionEventToken == other.relatedTransactionEventToken && relatedTransactionToken == other.relatedTransactionToken && type == other.type && additionalProperties == other.additionalProperties /* spotless:on */ + return other is TransactionSeries && + relatedTransactionEventToken == other.relatedTransactionEventToken && + relatedTransactionToken == other.relatedTransactionToken && + type == other.type && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(relatedTransactionEventToken, relatedTransactionToken, type, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + relatedTransactionEventToken, + relatedTransactionToken, + type, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2710,12 +2740,47 @@ private constructor( return true } - return /* spotless:off */ other is ManagementOperationTransaction && token == other.token && created == other.created && family == other.family && status == other.status && updated == other.updated && category == other.category && currency == other.currency && direction == other.direction && events == other.events && externalResource == other.externalResource && financialAccountToken == other.financialAccountToken && pendingAmount == other.pendingAmount && result == other.result && settledAmount == other.settledAmount && transactionSeries == other.transactionSeries && userDefinedId == other.userDefinedId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is ManagementOperationTransaction && + token == other.token && + created == other.created && + family == other.family && + status == other.status && + updated == other.updated && + category == other.category && + currency == other.currency && + direction == other.direction && + events == other.events && + externalResource == other.externalResource && + financialAccountToken == other.financialAccountToken && + pendingAmount == other.pendingAmount && + result == other.result && + settledAmount == other.settledAmount && + transactionSeries == other.transactionSeries && + userDefinedId == other.userDefinedId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, created, family, status, updated, category, currency, direction, events, externalResource, financialAccountToken, pendingAmount, result, settledAmount, transactionSeries, userDefinedId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + created, + family, + status, + updated, + category, + currency, + direction, + events, + externalResource, + financialAccountToken, + pendingAmount, + result, + settledAmount, + transactionSeries, + userDefinedId, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/MerchantLockParameters.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/MerchantLockParameters.kt index 8ebec6cf1..b7b7839da 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/MerchantLockParameters.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/MerchantLockParameters.kt @@ -406,12 +406,16 @@ private constructor( return true } - return /* spotless:off */ other is Merchant && comment == other.comment && descriptor == other.descriptor && merchantId == other.merchantId && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Merchant && + comment == other.comment && + descriptor == other.descriptor && + merchantId == other.merchantId && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(comment, descriptor, merchantId, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash(comment, descriptor, merchantId, additionalProperties) + } override fun hashCode(): Int = hashCode @@ -424,12 +428,12 @@ private constructor( return true } - return /* spotless:off */ other is MerchantLockParameters && merchants == other.merchants && additionalProperties == other.additionalProperties /* spotless:on */ + return other is MerchantLockParameters && + merchants == other.merchants && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(merchants, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/MessageAttempt.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/MessageAttempt.kt index cce68857e..3d386c545 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/MessageAttempt.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/MessageAttempt.kt @@ -572,7 +572,7 @@ private constructor( return true } - return /* spotless:off */ other is Status && value == other.value /* spotless:on */ + return other is Status && value == other.value } override fun hashCode() = value.hashCode() @@ -585,12 +585,31 @@ private constructor( return true } - return /* spotless:off */ other is MessageAttempt && token == other.token && created == other.created && eventSubscriptionToken == other.eventSubscriptionToken && eventToken == other.eventToken && response == other.response && responseStatusCode == other.responseStatusCode && status == other.status && url == other.url && additionalProperties == other.additionalProperties /* spotless:on */ + return other is MessageAttempt && + token == other.token && + created == other.created && + eventSubscriptionToken == other.eventSubscriptionToken && + eventToken == other.eventToken && + response == other.response && + responseStatusCode == other.responseStatusCode && + status == other.status && + url == other.url && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, created, eventSubscriptionToken, eventToken, response, responseStatusCode, status, url, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + created, + eventSubscriptionToken, + eventToken, + response, + responseStatusCode, + status, + url, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/MicroDepositCreateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/MicroDepositCreateResponse.kt index b305e4775..4a5de6b12 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/MicroDepositCreateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/MicroDepositCreateResponse.kt @@ -1141,7 +1141,7 @@ private constructor( return true } - return /* spotless:off */ other is OwnerType && value == other.value /* spotless:on */ + return other is OwnerType && value == other.value } override fun hashCode() = value.hashCode() @@ -1273,7 +1273,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1402,7 +1402,7 @@ private constructor( return true } - return /* spotless:off */ other is AccountType && value == other.value /* spotless:on */ + return other is AccountType && value == other.value } override fun hashCode() = value.hashCode() @@ -1545,7 +1545,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationMethod && value == other.value /* spotless:on */ + return other is VerificationMethod && value == other.value } override fun hashCode() = value.hashCode() @@ -1687,7 +1687,7 @@ private constructor( return true } - return /* spotless:off */ other is VerificationState && value == other.value /* spotless:on */ + return other is VerificationState && value == other.value } override fun hashCode() = value.hashCode() @@ -1700,12 +1700,59 @@ private constructor( return true } - return /* spotless:off */ other is MicroDepositCreateResponse && token == other.token && country == other.country && created == other.created && currency == other.currency && lastFour == other.lastFour && owner == other.owner && ownerType == other.ownerType && routingNumber == other.routingNumber && state == other.state && type == other.type && verificationAttempts == other.verificationAttempts && verificationMethod == other.verificationMethod && verificationState == other.verificationState && accountToken == other.accountToken && address == other.address && companyId == other.companyId && dob == other.dob && doingBusinessAs == other.doingBusinessAs && financialAccountToken == other.financialAccountToken && name == other.name && userDefinedId == other.userDefinedId && verificationFailedReason == other.verificationFailedReason && additionalProperties == other.additionalProperties /* spotless:on */ + return other is MicroDepositCreateResponse && + token == other.token && + country == other.country && + created == other.created && + currency == other.currency && + lastFour == other.lastFour && + owner == other.owner && + ownerType == other.ownerType && + routingNumber == other.routingNumber && + state == other.state && + type == other.type && + verificationAttempts == other.verificationAttempts && + verificationMethod == other.verificationMethod && + verificationState == other.verificationState && + accountToken == other.accountToken && + address == other.address && + companyId == other.companyId && + dob == other.dob && + doingBusinessAs == other.doingBusinessAs && + financialAccountToken == other.financialAccountToken && + name == other.name && + userDefinedId == other.userDefinedId && + verificationFailedReason == other.verificationFailedReason && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, country, created, currency, lastFour, owner, ownerType, routingNumber, state, type, verificationAttempts, verificationMethod, verificationState, accountToken, address, companyId, dob, doingBusinessAs, financialAccountToken, name, userDefinedId, verificationFailedReason, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + country, + created, + currency, + lastFour, + owner, + ownerType, + routingNumber, + state, + type, + verificationAttempts, + verificationMethod, + verificationState, + accountToken, + address, + companyId, + dob, + doingBusinessAs, + financialAccountToken, + name, + userDefinedId, + verificationFailedReason, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgram.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgram.kt index 30a249e9d..9360953d2 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgram.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgram.kt @@ -295,12 +295,23 @@ private constructor( return true } - return /* spotless:off */ other is NetworkProgram && token == other.token && defaultProductCode == other.defaultProductCode && name == other.name && registeredProgramIdentificationNumber == other.registeredProgramIdentificationNumber && additionalProperties == other.additionalProperties /* spotless:on */ + return other is NetworkProgram && + token == other.token && + defaultProductCode == other.defaultProductCode && + name == other.name && + registeredProgramIdentificationNumber == other.registeredProgramIdentificationNumber && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, defaultProductCode, name, registeredProgramIdentificationNumber, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + defaultProductCode, + name, + registeredProgramIdentificationNumber, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPage.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPage.kt index 3541ef600..05b7a4201 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPage.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPage.kt @@ -116,10 +116,13 @@ private constructor( return true } - return /* spotless:off */ other is NetworkProgramListPage && service == other.service && params == other.params && response == other.response /* spotless:on */ + return other is NetworkProgramListPage && + service == other.service && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, params, response) override fun toString() = "NetworkProgramListPage{service=$service, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPageAsync.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPageAsync.kt index d8f2e8ec3..7b64c9eb7 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPageAsync.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPageAsync.kt @@ -130,10 +130,14 @@ private constructor( return true } - return /* spotless:off */ other is NetworkProgramListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */ + return other is NetworkProgramListPageAsync && + service == other.service && + streamHandlerExecutor == other.streamHandlerExecutor && + params == other.params && + response == other.response } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */ + override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response) override fun toString() = "NetworkProgramListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPageResponse.kt index c8b9e533d..5f4fd658d 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPageResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListPageResponse.kt @@ -214,12 +214,13 @@ private constructor( return true } - return /* spotless:off */ other is NetworkProgramListPageResponse && data == other.data && hasMore == other.hasMore && additionalProperties == other.additionalProperties /* spotless:on */ + return other is NetworkProgramListPageResponse && + data == other.data && + hasMore == other.hasMore && + additionalProperties == other.additionalProperties } - /* spotless:off */ private val hashCode: Int by lazy { Objects.hash(data, hasMore, additionalProperties) } - /* spotless:on */ override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListParams.kt index 417556d65..dc2532cb8 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramListParams.kt @@ -231,10 +231,16 @@ private constructor( return true } - return /* spotless:off */ other is NetworkProgramListParams && begin == other.begin && end == other.end && pageSize == other.pageSize && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is NetworkProgramListParams && + begin == other.begin && + end == other.end && + pageSize == other.pageSize && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(begin, end, pageSize, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(begin, end, pageSize, additionalHeaders, additionalQueryParams) override fun toString() = "NetworkProgramListParams{begin=$begin, end=$end, pageSize=$pageSize, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramRetrieveParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramRetrieveParams.kt index 57bc568bf..45d8e601f 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramRetrieveParams.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkProgramRetrieveParams.kt @@ -187,10 +187,14 @@ private constructor( return true } - return /* spotless:off */ other is NetworkProgramRetrieveParams && networkProgramToken == other.networkProgramToken && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */ + return other is NetworkProgramRetrieveParams && + networkProgramToken == other.networkProgramToken && + additionalHeaders == other.additionalHeaders && + additionalQueryParams == other.additionalQueryParams } - override fun hashCode(): Int = /* spotless:off */ Objects.hash(networkProgramToken, additionalHeaders, additionalQueryParams) /* spotless:on */ + override fun hashCode(): Int = + Objects.hash(networkProgramToken, additionalHeaders, additionalQueryParams) override fun toString() = "NetworkProgramRetrieveParams{networkProgramToken=$networkProgramToken, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}" diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkTotalListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkTotalListResponse.kt index c56cd2df1..8f4339387 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkTotalListResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkTotalListResponse.kt @@ -894,12 +894,23 @@ private constructor( return true } - return /* spotless:off */ other is Amounts && grossSettlement == other.grossSettlement && interchangeFees == other.interchangeFees && netSettlement == other.netSettlement && visaCharges == other.visaCharges && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Amounts && + grossSettlement == other.grossSettlement && + interchangeFees == other.interchangeFees && + netSettlement == other.netSettlement && + visaCharges == other.visaCharges && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(grossSettlement, interchangeFees, netSettlement, visaCharges, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + grossSettlement, + interchangeFees, + netSettlement, + visaCharges, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1045,7 +1056,7 @@ private constructor( return true } - return /* spotless:off */ other is Network && value == other.value /* spotless:on */ + return other is Network && value == other.value } override fun hashCode() = value.hashCode() @@ -1058,12 +1069,39 @@ private constructor( return true } - return /* spotless:off */ other is NetworkTotalListResponse && token == other.token && amounts == other.amounts && created == other.created && currency == other.currency && institutionId == other.institutionId && isComplete == other.isComplete && network == other.network && reportDate == other.reportDate && settlementInstitutionId == other.settlementInstitutionId && settlementService == other.settlementService && updated == other.updated && cycle == other.cycle && additionalProperties == other.additionalProperties /* spotless:on */ + return other is NetworkTotalListResponse && + token == other.token && + amounts == other.amounts && + created == other.created && + currency == other.currency && + institutionId == other.institutionId && + isComplete == other.isComplete && + network == other.network && + reportDate == other.reportDate && + settlementInstitutionId == other.settlementInstitutionId && + settlementService == other.settlementService && + updated == other.updated && + cycle == other.cycle && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, amounts, created, currency, institutionId, isComplete, network, reportDate, settlementInstitutionId, settlementService, updated, cycle, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + amounts, + created, + currency, + institutionId, + isComplete, + network, + reportDate, + settlementInstitutionId, + settlementService, + updated, + cycle, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkTotalRetrieveResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkTotalRetrieveResponse.kt index ac09d0fa2..ec6d92081 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkTotalRetrieveResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NetworkTotalRetrieveResponse.kt @@ -894,12 +894,23 @@ private constructor( return true } - return /* spotless:off */ other is Amounts && grossSettlement == other.grossSettlement && interchangeFees == other.interchangeFees && netSettlement == other.netSettlement && visaCharges == other.visaCharges && additionalProperties == other.additionalProperties /* spotless:on */ + return other is Amounts && + grossSettlement == other.grossSettlement && + interchangeFees == other.interchangeFees && + netSettlement == other.netSettlement && + visaCharges == other.visaCharges && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(grossSettlement, interchangeFees, netSettlement, visaCharges, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + grossSettlement, + interchangeFees, + netSettlement, + visaCharges, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -1045,7 +1056,7 @@ private constructor( return true } - return /* spotless:off */ other is Network && value == other.value /* spotless:on */ + return other is Network && value == other.value } override fun hashCode() = value.hashCode() @@ -1058,12 +1069,39 @@ private constructor( return true } - return /* spotless:off */ other is NetworkTotalRetrieveResponse && token == other.token && amounts == other.amounts && created == other.created && currency == other.currency && institutionId == other.institutionId && isComplete == other.isComplete && network == other.network && reportDate == other.reportDate && settlementInstitutionId == other.settlementInstitutionId && settlementService == other.settlementService && updated == other.updated && cycle == other.cycle && additionalProperties == other.additionalProperties /* spotless:on */ + return other is NetworkTotalRetrieveResponse && + token == other.token && + amounts == other.amounts && + created == other.created && + currency == other.currency && + institutionId == other.institutionId && + isComplete == other.isComplete && + network == other.network && + reportDate == other.reportDate && + settlementInstitutionId == other.settlementInstitutionId && + settlementService == other.settlementService && + updated == other.updated && + cycle == other.cycle && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, amounts, created, currency, institutionId, isComplete, network, reportDate, settlementInstitutionId, settlementService, updated, cycle, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + amounts, + created, + currency, + institutionId, + isComplete, + network, + reportDate, + settlementInstitutionId, + settlementService, + updated, + cycle, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NonPciCard.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NonPciCard.kt index 096632b81..1daee9213 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/NonPciCard.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/NonPciCard.kt @@ -1755,7 +1755,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -1886,7 +1886,7 @@ private constructor( return true } - return /* spotless:off */ other is Type && value == other.value /* spotless:on */ + return other is Type && value == other.value } override fun hashCode() = value.hashCode() @@ -1899,12 +1899,29 @@ private constructor( return true } - return /* spotless:off */ other is FundingAccount && token == other.token && created == other.created && lastFour == other.lastFour && state == other.state && type == other.type && accountName == other.accountName && nickname == other.nickname && additionalProperties == other.additionalProperties /* spotless:on */ + return other is FundingAccount && + token == other.token && + created == other.created && + lastFour == other.lastFour && + state == other.state && + type == other.type && + accountName == other.accountName && + nickname == other.nickname && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, created, lastFour, state, type, accountName, nickname, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + created, + lastFour, + state, + type, + accountName, + nickname, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode @@ -2040,7 +2057,7 @@ private constructor( return true } - return /* spotless:off */ other is PinStatus && value == other.value /* spotless:on */ + return other is PinStatus && value == other.value } override fun hashCode() = value.hashCode() @@ -2197,7 +2214,7 @@ private constructor( return true } - return /* spotless:off */ other is State && value == other.value /* spotless:on */ + return other is State && value == other.value } override fun hashCode() = value.hashCode() @@ -2356,7 +2373,7 @@ private constructor( return true } - return /* spotless:off */ other is Type && value == other.value /* spotless:on */ + return other is Type && value == other.value } override fun hashCode() = value.hashCode() @@ -2556,7 +2573,7 @@ private constructor( return true } - return /* spotless:off */ other is Substatus && value == other.value /* spotless:on */ + return other is Substatus && value == other.value } override fun hashCode() = value.hashCode() @@ -2569,12 +2586,63 @@ private constructor( return true } - return /* spotless:off */ other is NonPciCard && token == other.token && accountToken == other.accountToken && cardProgramToken == other.cardProgramToken && created == other.created && funding == other.funding && lastFour == other.lastFour && pinStatus == other.pinStatus && spendLimit == other.spendLimit && spendLimitDuration == other.spendLimitDuration && state == other.state && type == other.type && authRuleTokens == other.authRuleTokens && cardholderCurrency == other.cardholderCurrency && comment == other.comment && digitalCardArtToken == other.digitalCardArtToken && expMonth == other.expMonth && expYear == other.expYear && hostname == other.hostname && memo == other.memo && networkProgramToken == other.networkProgramToken && pendingCommands == other.pendingCommands && productId == other.productId && replacementFor == other.replacementFor && substatus == other.substatus && additionalProperties == other.additionalProperties /* spotless:on */ + return other is NonPciCard && + token == other.token && + accountToken == other.accountToken && + cardProgramToken == other.cardProgramToken && + created == other.created && + funding == other.funding && + lastFour == other.lastFour && + pinStatus == other.pinStatus && + spendLimit == other.spendLimit && + spendLimitDuration == other.spendLimitDuration && + state == other.state && + type == other.type && + authRuleTokens == other.authRuleTokens && + cardholderCurrency == other.cardholderCurrency && + comment == other.comment && + digitalCardArtToken == other.digitalCardArtToken && + expMonth == other.expMonth && + expYear == other.expYear && + hostname == other.hostname && + memo == other.memo && + networkProgramToken == other.networkProgramToken && + pendingCommands == other.pendingCommands && + productId == other.productId && + replacementFor == other.replacementFor && + substatus == other.substatus && + additionalProperties == other.additionalProperties } - /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(token, accountToken, cardProgramToken, created, funding, lastFour, pinStatus, spendLimit, spendLimitDuration, state, type, authRuleTokens, cardholderCurrency, comment, digitalCardArtToken, expMonth, expYear, hostname, memo, networkProgramToken, pendingCommands, productId, replacementFor, substatus, additionalProperties) } - /* spotless:on */ + private val hashCode: Int by lazy { + Objects.hash( + token, + accountToken, + cardProgramToken, + created, + funding, + lastFour, + pinStatus, + spendLimit, + spendLimitDuration, + state, + type, + authRuleTokens, + cardholderCurrency, + comment, + digitalCardArtToken, + expMonth, + expYear, + hostname, + memo, + networkProgramToken, + pendingCommands, + productId, + replacementFor, + substatus, + additionalProperties, + ) + } override fun hashCode(): Int = hashCode diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/OwnerType.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/OwnerType.kt index 05bc92c1a..736c41370 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/OwnerType.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/OwnerType.kt @@ -121,7 +121,7 @@ class OwnerType @JsonCreator private constructor(private val value: JsonField Date: Wed, 13 Aug 2025 16:56:29 +0000 Subject: [PATCH 08/11] chore(internal): dynamically determine included projects --- settings.gradle.kts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index fdce5b627..8c386d6b6 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,7 +1,14 @@ rootProject.name = "lithic-java-root" -include("lithic-java") -include("lithic-java-client-okhttp") -include("lithic-java-core") -include("lithic-java-proguard-test") -include("lithic-java-example") +val projectNames = rootDir.listFiles() + ?.asSequence() + .orEmpty() + .filter { file -> + file.isDirectory && + file.name.startsWith("lithic-java") && + file.listFiles()?.asSequence().orEmpty().any { it.name == "build.gradle.kts" } + } + .map { it.name } + .toList() +println("projects: $projectNames") +projectNames.forEach { include(it) } From b1b2e86e9d4edbec20fe8c68d0929167c848f77d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 18:46:03 +0000 Subject: [PATCH 09/11] chore(internal): support passing arguments to test script --- scripts/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test b/scripts/test index 2177cb8ae..047bc1dbb 100755 --- a/scripts/test +++ b/scripts/test @@ -53,4 +53,4 @@ else fi echo "==> Running tests" -./gradlew test +./gradlew test "$@" From 1dc17bad4eab570e14e2d067a04dcfbfdf7e00c2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 19:20:03 +0000 Subject: [PATCH 10/11] feat(api): adds detailed 3DS challenge statuses - https://docs.lithic.com/changelog/challenge-status-now-available-in-3ds-authentication-responses --- .stats.yml | 4 +- ...tHolderSimulateEnrollmentReviewResponse.kt | 53 +++- .../api/models/AccountHolderUpdateResponse.kt | 61 +++- .../models/AuthenticationRetrieveResponse.kt | 261 +++++++++++++++++- .../main/kotlin/com/lithic/api/models/Kyb.kt | 4 +- ...derSimulateEnrollmentReviewResponseTest.kt | 3 + .../models/AccountHolderUpdateResponseTest.kt | 2 + .../AuthenticationRetrieveResponseTest.kt | 3 + .../api/proguard/ProGuardCompatibilityTest.kt | 1 + 9 files changed, 377 insertions(+), 15 deletions(-) diff --git a/.stats.yml b/.stats.yml index afc0ba090..6ac2b12f6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 169 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-529662462c00af160f74568fe26dbe576cf1fdc9f427e11bb1939bd8acdcb43f.yml -openapi_spec_hash: a98631dfc66716d41ada4ddb199f7028 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-aca56b6e4da5b97e586e66392dd3cf433208cb964e25081a661dd41cf456a88a.yml +openapi_spec_hash: 297b9f330d31db8e5832463a0ce455ba config_hash: 99dad20b4a7d4a1390670762b9da4231 diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt index bf2181102..7bcc8b469 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt @@ -2608,6 +2608,7 @@ private constructor( private val status: JsonField, private val statusReasons: JsonField>, private val updated: JsonField, + private val kyPassedAt: JsonField, private val additionalProperties: MutableMap, ) { @@ -2623,7 +2624,10 @@ private constructor( @JsonProperty("updated") @ExcludeMissing updated: JsonField = JsonMissing.of(), - ) : this(created, status, statusReasons, updated, mutableMapOf()) + @JsonProperty("ky_passed_at") + @ExcludeMissing + kyPassedAt: JsonField = JsonMissing.of(), + ) : this(created, status, statusReasons, updated, kyPassedAt, mutableMapOf()) /** * Timestamp of when the application was created. @@ -2660,6 +2664,15 @@ private constructor( */ fun updated(): OffsetDateTime = updated.getRequired("updated") + /** + * Timestamp of when the application passed the verification process. Only present if + * `status` is `ACCEPTED` + * + * @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the + * server responded with an unexpected value). + */ + fun kyPassedAt(): Optional = kyPassedAt.getOptional("ky_passed_at") + /** * Returns the raw JSON value of [created]. * @@ -2691,6 +2704,15 @@ private constructor( */ @JsonProperty("updated") @ExcludeMissing fun _updated(): JsonField = updated + /** + * Returns the raw JSON value of [kyPassedAt]. + * + * Unlike [kyPassedAt], this method doesn't throw if the JSON field has an unexpected type. + */ + @JsonProperty("ky_passed_at") + @ExcludeMissing + fun _kyPassedAt(): JsonField = kyPassedAt + @JsonAnySetter private fun putAdditionalProperty(key: String, value: JsonValue) { additionalProperties.put(key, value) @@ -2726,6 +2748,7 @@ private constructor( private var status: JsonField? = null private var statusReasons: JsonField>? = null private var updated: JsonField? = null + private var kyPassedAt: JsonField = JsonMissing.of() private var additionalProperties: MutableMap = mutableMapOf() @JvmSynthetic @@ -2734,6 +2757,7 @@ private constructor( status = verificationApplication.status statusReasons = verificationApplication.statusReasons.map { it.toMutableList() } updated = verificationApplication.updated + kyPassedAt = verificationApplication.kyPassedAt additionalProperties = verificationApplication.additionalProperties.toMutableMap() } @@ -2805,6 +2829,23 @@ private constructor( */ fun updated(updated: JsonField) = apply { this.updated = updated } + /** + * Timestamp of when the application passed the verification process. Only present if + * `status` is `ACCEPTED` + */ + fun kyPassedAt(kyPassedAt: OffsetDateTime) = kyPassedAt(JsonField.of(kyPassedAt)) + + /** + * Sets [Builder.kyPassedAt] to an arbitrary JSON value. + * + * You should usually call [Builder.kyPassedAt] with a well-typed [OffsetDateTime] value + * instead. This method is primarily for setting the field to an undocumented or not yet + * supported value. + */ + fun kyPassedAt(kyPassedAt: JsonField) = apply { + this.kyPassedAt = kyPassedAt + } + fun additionalProperties(additionalProperties: Map) = apply { this.additionalProperties.clear() putAllAdditionalProperties(additionalProperties) @@ -2845,6 +2886,7 @@ private constructor( checkRequired("status", status), checkRequired("statusReasons", statusReasons).map { it.toImmutable() }, checkRequired("updated", updated), + kyPassedAt, additionalProperties.toMutableMap(), ) } @@ -2860,6 +2902,7 @@ private constructor( status().validate() statusReasons().forEach { it.validate() } updated() + kyPassedAt() validated = true } @@ -2882,7 +2925,8 @@ private constructor( (if (created.asKnown().isPresent) 1 else 0) + (status.asKnown().getOrNull()?.validity() ?: 0) + (statusReasons.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0) + - (if (updated.asKnown().isPresent) 1 else 0) + (if (updated.asKnown().isPresent) 1 else 0) + + (if (kyPassedAt.asKnown().isPresent) 1 else 0) /** * KYC and KYB evaluation states. @@ -3357,17 +3401,18 @@ private constructor( status == other.status && statusReasons == other.statusReasons && updated == other.updated && + kyPassedAt == other.kyPassedAt && additionalProperties == other.additionalProperties } private val hashCode: Int by lazy { - Objects.hash(created, status, statusReasons, updated, additionalProperties) + Objects.hash(created, status, statusReasons, updated, kyPassedAt, additionalProperties) } override fun hashCode(): Int = hashCode override fun toString() = - "VerificationApplication{created=$created, status=$status, statusReasons=$statusReasons, updated=$updated, additionalProperties=$additionalProperties}" + "VerificationApplication{created=$created, status=$status, statusReasons=$statusReasons, updated=$updated, kyPassedAt=$kyPassedAt, additionalProperties=$additionalProperties}" } override fun equals(other: Any?): Boolean { diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt index 8295dd792..310bcef74 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt @@ -2849,6 +2849,7 @@ private constructor( private val status: JsonField, private val statusReasons: JsonField>, private val updated: JsonField, + private val kyPassedAt: JsonField, private val additionalProperties: MutableMap, ) { @@ -2866,7 +2867,10 @@ private constructor( @JsonProperty("updated") @ExcludeMissing updated: JsonField = JsonMissing.of(), - ) : this(created, status, statusReasons, updated, mutableMapOf()) + @JsonProperty("ky_passed_at") + @ExcludeMissing + kyPassedAt: JsonField = JsonMissing.of(), + ) : this(created, status, statusReasons, updated, kyPassedAt, mutableMapOf()) /** * Timestamp of when the application was created. @@ -2907,6 +2911,15 @@ private constructor( */ fun updated(): OffsetDateTime = updated.getRequired("updated") + /** + * Timestamp of when the application passed the verification process. Only present if + * `status` is `ACCEPTED` + * + * @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if + * the server responded with an unexpected value). + */ + fun kyPassedAt(): Optional = kyPassedAt.getOptional("ky_passed_at") + /** * Returns the raw JSON value of [created]. * @@ -2942,6 +2955,16 @@ private constructor( @ExcludeMissing fun _updated(): JsonField = updated + /** + * Returns the raw JSON value of [kyPassedAt]. + * + * Unlike [kyPassedAt], this method doesn't throw if the JSON field has an unexpected + * type. + */ + @JsonProperty("ky_passed_at") + @ExcludeMissing + fun _kyPassedAt(): JsonField = kyPassedAt + @JsonAnySetter private fun putAdditionalProperty(key: String, value: JsonValue) { additionalProperties.put(key, value) @@ -2978,6 +3001,7 @@ private constructor( private var status: JsonField? = null private var statusReasons: JsonField>? = null private var updated: JsonField? = null + private var kyPassedAt: JsonField = JsonMissing.of() private var additionalProperties: MutableMap = mutableMapOf() @JvmSynthetic @@ -2986,6 +3010,7 @@ private constructor( status = verificationApplication.status statusReasons = verificationApplication.statusReasons.map { it.toMutableList() } updated = verificationApplication.updated + kyPassedAt = verificationApplication.kyPassedAt additionalProperties = verificationApplication.additionalProperties.toMutableMap() } @@ -3058,6 +3083,23 @@ private constructor( */ fun updated(updated: JsonField) = apply { this.updated = updated } + /** + * Timestamp of when the application passed the verification process. Only present + * if `status` is `ACCEPTED` + */ + fun kyPassedAt(kyPassedAt: OffsetDateTime) = kyPassedAt(JsonField.of(kyPassedAt)) + + /** + * Sets [Builder.kyPassedAt] to an arbitrary JSON value. + * + * You should usually call [Builder.kyPassedAt] with a well-typed [OffsetDateTime] + * value instead. This method is primarily for setting the field to an undocumented + * or not yet supported value. + */ + fun kyPassedAt(kyPassedAt: JsonField) = apply { + this.kyPassedAt = kyPassedAt + } + fun additionalProperties(additionalProperties: Map) = apply { this.additionalProperties.clear() putAllAdditionalProperties(additionalProperties) @@ -3101,6 +3143,7 @@ private constructor( checkRequired("status", status), checkRequired("statusReasons", statusReasons).map { it.toImmutable() }, checkRequired("updated", updated), + kyPassedAt, additionalProperties.toMutableMap(), ) } @@ -3116,6 +3159,7 @@ private constructor( status().validate() statusReasons().forEach { it.validate() } updated() + kyPassedAt() validated = true } @@ -3138,7 +3182,8 @@ private constructor( (if (created.asKnown().isPresent) 1 else 0) + (status.asKnown().getOrNull()?.validity() ?: 0) + (statusReasons.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0) + - (if (updated.asKnown().isPresent) 1 else 0) + (if (updated.asKnown().isPresent) 1 else 0) + + (if (kyPassedAt.asKnown().isPresent) 1 else 0) /** * KYC and KYB evaluation states. @@ -3618,17 +3663,25 @@ private constructor( status == other.status && statusReasons == other.statusReasons && updated == other.updated && + kyPassedAt == other.kyPassedAt && additionalProperties == other.additionalProperties } private val hashCode: Int by lazy { - Objects.hash(created, status, statusReasons, updated, additionalProperties) + Objects.hash( + created, + status, + statusReasons, + updated, + kyPassedAt, + additionalProperties, + ) } override fun hashCode(): Int = hashCode override fun toString() = - "VerificationApplication{created=$created, status=$status, statusReasons=$statusReasons, updated=$updated, additionalProperties=$additionalProperties}" + "VerificationApplication{created=$created, status=$status, statusReasons=$statusReasons, updated=$updated, kyPassedAt=$kyPassedAt, additionalProperties=$additionalProperties}" } override fun equals(other: Any?): Boolean { diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt index fd15e6896..51e76f287 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthenticationRetrieveResponse.kt @@ -6051,6 +6051,7 @@ private constructor( class ChallengeMetadata private constructor( private val methodType: JsonField, + private val status: JsonField, private val phoneNumber: JsonField, private val additionalProperties: MutableMap, ) { @@ -6060,10 +6061,11 @@ private constructor( @JsonProperty("method_type") @ExcludeMissing methodType: JsonField = JsonMissing.of(), + @JsonProperty("status") @ExcludeMissing status: JsonField = JsonMissing.of(), @JsonProperty("phone_number") @ExcludeMissing phoneNumber: JsonField = JsonMissing.of(), - ) : this(methodType, phoneNumber, mutableMapOf()) + ) : this(methodType, status, phoneNumber, mutableMapOf()) /** * The type of challenge method used for authentication. @@ -6073,6 +6075,28 @@ private constructor( */ fun methodType(): MethodType = methodType.getRequired("method_type") + /** + * Indicates the status of the challenge + * - SUCCESS - Cardholder completed the challenge successfully + * - PENDING - Challenge was issued to the cardholder and was not completed yet + * - SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the provided + * phone number. Relevant only for SMS_OTP method + * - CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the given + * challenge TTL + * - CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting "cancel" on + * the challenge UI + * - CANCELED_OOB - Cardholder canceled the challenge out of band + * - ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an incorrect OTP + * more than the allowed number of times or requesting a new OTP more than the allowed + * number of times + * - ABORTED - Merchant aborted authentication after a challenge was requested + * - ERROR - The challenge failed for a reason different than those documented + * + * @throws LithicInvalidDataException if the JSON field has an unexpected type or is + * unexpectedly missing or null (e.g. if the server responded with an unexpected value). + */ + fun status(): Status = status.getRequired("status") + /** * The phone number used for delivering the OTP. Relevant only for SMS_OTP method. * @@ -6090,6 +6114,13 @@ private constructor( @ExcludeMissing fun _methodType(): JsonField = methodType + /** + * Returns the raw JSON value of [status]. + * + * Unlike [status], this method doesn't throw if the JSON field has an unexpected type. + */ + @JsonProperty("status") @ExcludeMissing fun _status(): JsonField = status + /** * Returns the raw JSON value of [phoneNumber]. * @@ -6119,6 +6150,7 @@ private constructor( * The following fields are required: * ```java * .methodType() + * .status() * ``` */ @JvmStatic fun builder() = Builder() @@ -6128,12 +6160,14 @@ private constructor( class Builder internal constructor() { private var methodType: JsonField? = null + private var status: JsonField? = null private var phoneNumber: JsonField = JsonMissing.of() private var additionalProperties: MutableMap = mutableMapOf() @JvmSynthetic internal fun from(challengeMetadata: ChallengeMetadata) = apply { methodType = challengeMetadata.methodType + status = challengeMetadata.status phoneNumber = challengeMetadata.phoneNumber additionalProperties = challengeMetadata.additionalProperties.toMutableMap() } @@ -6152,6 +6186,34 @@ private constructor( this.methodType = methodType } + /** + * Indicates the status of the challenge + * - SUCCESS - Cardholder completed the challenge successfully + * - PENDING - Challenge was issued to the cardholder and was not completed yet + * - SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the provided + * phone number. Relevant only for SMS_OTP method + * - CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the given + * challenge TTL + * - CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting "cancel" + * on the challenge UI + * - CANCELED_OOB - Cardholder canceled the challenge out of band + * - ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an incorrect + * OTP more than the allowed number of times or requesting a new OTP more than the + * allowed number of times + * - ABORTED - Merchant aborted authentication after a challenge was requested + * - ERROR - The challenge failed for a reason different than those documented + */ + fun status(status: Status) = status(JsonField.of(status)) + + /** + * Sets [Builder.status] to an arbitrary JSON value. + * + * You should usually call [Builder.status] with a well-typed [Status] value instead. + * This method is primarily for setting the field to an undocumented or not yet + * supported value. + */ + fun status(status: JsonField) = apply { this.status = status } + /** The phone number used for delivering the OTP. Relevant only for SMS_OTP method. */ fun phoneNumber(phoneNumber: String?) = phoneNumber(JsonField.ofNullable(phoneNumber)) @@ -6196,6 +6258,7 @@ private constructor( * The following fields are required: * ```java * .methodType() + * .status() * ``` * * @throws IllegalStateException if any required field is unset. @@ -6203,6 +6266,7 @@ private constructor( fun build(): ChallengeMetadata = ChallengeMetadata( checkRequired("methodType", methodType), + checkRequired("status", status), phoneNumber, additionalProperties.toMutableMap(), ) @@ -6216,6 +6280,7 @@ private constructor( } methodType().validate() + status().validate() phoneNumber() validated = true } @@ -6237,6 +6302,7 @@ private constructor( @JvmSynthetic internal fun validity(): Int = (methodType.asKnown().getOrNull()?.validity() ?: 0) + + (status.asKnown().getOrNull()?.validity() ?: 0) + (if (phoneNumber.asKnown().isPresent) 1 else 0) /** The type of challenge method used for authentication. */ @@ -6371,6 +6437,194 @@ private constructor( override fun toString() = value.toString() } + /** + * Indicates the status of the challenge + * - SUCCESS - Cardholder completed the challenge successfully + * - PENDING - Challenge was issued to the cardholder and was not completed yet + * - SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the provided + * phone number. Relevant only for SMS_OTP method + * - CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the given + * challenge TTL + * - CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting "cancel" on + * the challenge UI + * - CANCELED_OOB - Cardholder canceled the challenge out of band + * - ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an incorrect OTP + * more than the allowed number of times or requesting a new OTP more than the allowed + * number of times + * - ABORTED - Merchant aborted authentication after a challenge was requested + * - ERROR - The challenge failed for a reason different than those documented + */ + class Status @JsonCreator private constructor(private val value: JsonField) : Enum { + + /** + * Returns this class instance's raw value. + * + * This is usually only useful if this instance was deserialized from data that doesn't + * match any known member, and you want to know that value. For example, if the SDK is + * on an older version than the API, then the API may respond with new members that the + * SDK is unaware of. + */ + @com.fasterxml.jackson.annotation.JsonValue fun _value(): JsonField = value + + companion object { + + @JvmField val SUCCESS = of("SUCCESS") + + @JvmField val PENDING = of("PENDING") + + @JvmField val SMS_DELIVERY_FAILED = of("SMS_DELIVERY_FAILED") + + @JvmField val CARDHOLDER_TIMEOUT = of("CARDHOLDER_TIMEOUT") + + @JvmField val CANCELED_VIA_CHALLENGE_UI = of("CANCELED_VIA_CHALLENGE_UI") + + @JvmField val CANCELED_OOB = of("CANCELED_OOB") + + @JvmField val ATTEMPTS_EXCEEDED = of("ATTEMPTS_EXCEEDED") + + @JvmField val ABORTED = of("ABORTED") + + @JvmField val ERROR = of("ERROR") + + @JvmStatic fun of(value: String) = Status(JsonField.of(value)) + } + + /** An enum containing [Status]'s known values. */ + enum class Known { + SUCCESS, + PENDING, + SMS_DELIVERY_FAILED, + CARDHOLDER_TIMEOUT, + CANCELED_VIA_CHALLENGE_UI, + CANCELED_OOB, + ATTEMPTS_EXCEEDED, + ABORTED, + ERROR, + } + + /** + * An enum containing [Status]'s known values, as well as an [_UNKNOWN] member. + * + * An instance of [Status] can contain an unknown value in a couple of cases: + * - It was deserialized from data that doesn't match any known member. For example, if + * the SDK is on an older version than the API, then the API may respond with new + * members that the SDK is unaware of. + * - It was constructed with an arbitrary value using the [of] method. + */ + enum class Value { + SUCCESS, + PENDING, + SMS_DELIVERY_FAILED, + CARDHOLDER_TIMEOUT, + CANCELED_VIA_CHALLENGE_UI, + CANCELED_OOB, + ATTEMPTS_EXCEEDED, + ABORTED, + ERROR, + /** + * An enum member indicating that [Status] was instantiated with an unknown value. + */ + _UNKNOWN, + } + + /** + * Returns an enum member corresponding to this class instance's value, or + * [Value._UNKNOWN] if the class was instantiated with an unknown value. + * + * Use the [known] method instead if you're certain the value is always known or if you + * want to throw for the unknown case. + */ + fun value(): Value = + when (this) { + SUCCESS -> Value.SUCCESS + PENDING -> Value.PENDING + SMS_DELIVERY_FAILED -> Value.SMS_DELIVERY_FAILED + CARDHOLDER_TIMEOUT -> Value.CARDHOLDER_TIMEOUT + CANCELED_VIA_CHALLENGE_UI -> Value.CANCELED_VIA_CHALLENGE_UI + CANCELED_OOB -> Value.CANCELED_OOB + ATTEMPTS_EXCEEDED -> Value.ATTEMPTS_EXCEEDED + ABORTED -> Value.ABORTED + ERROR -> Value.ERROR + else -> Value._UNKNOWN + } + + /** + * Returns an enum member corresponding to this class instance's value. + * + * Use the [value] method instead if you're uncertain the value is always known and + * don't want to throw for the unknown case. + * + * @throws LithicInvalidDataException if this class instance's value is a not a known + * member. + */ + fun known(): Known = + when (this) { + SUCCESS -> Known.SUCCESS + PENDING -> Known.PENDING + SMS_DELIVERY_FAILED -> Known.SMS_DELIVERY_FAILED + CARDHOLDER_TIMEOUT -> Known.CARDHOLDER_TIMEOUT + CANCELED_VIA_CHALLENGE_UI -> Known.CANCELED_VIA_CHALLENGE_UI + CANCELED_OOB -> Known.CANCELED_OOB + ATTEMPTS_EXCEEDED -> Known.ATTEMPTS_EXCEEDED + ABORTED -> Known.ABORTED + ERROR -> Known.ERROR + else -> throw LithicInvalidDataException("Unknown Status: $value") + } + + /** + * Returns this class instance's primitive wire representation. + * + * This differs from the [toString] method because that method is primarily for + * debugging and generally doesn't throw. + * + * @throws LithicInvalidDataException if this class instance's value does not have the + * expected primitive type. + */ + fun asString(): String = + _value().asString().orElseThrow { + LithicInvalidDataException("Value is not a String") + } + + private var validated: Boolean = false + + fun validate(): Status = apply { + if (validated) { + return@apply + } + + known() + validated = true + } + + fun isValid(): Boolean = + try { + validate() + true + } catch (e: LithicInvalidDataException) { + false + } + + /** + * Returns a score indicating how many valid values are contained in this object + * recursively. + * + * Used for best match union deserialization. + */ + @JvmSynthetic internal fun validity(): Int = if (value() == Value._UNKNOWN) 0 else 1 + + override fun equals(other: Any?): Boolean { + if (this === other) { + return true + } + + return other is Status && value == other.value + } + + override fun hashCode() = value.hashCode() + + override fun toString() = value.toString() + } + override fun equals(other: Any?): Boolean { if (this === other) { return true @@ -6378,18 +6632,19 @@ private constructor( return other is ChallengeMetadata && methodType == other.methodType && + status == other.status && phoneNumber == other.phoneNumber && additionalProperties == other.additionalProperties } private val hashCode: Int by lazy { - Objects.hash(methodType, phoneNumber, additionalProperties) + Objects.hash(methodType, status, phoneNumber, additionalProperties) } override fun hashCode(): Int = hashCode override fun toString() = - "ChallengeMetadata{methodType=$methodType, phoneNumber=$phoneNumber, additionalProperties=$additionalProperties}" + "ChallengeMetadata{methodType=$methodType, status=$status, phoneNumber=$phoneNumber, additionalProperties=$additionalProperties}" } /** diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyb.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyb.kt index 4c16499b7..5213e1267 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyb.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Kyb.kt @@ -159,7 +159,7 @@ private constructor( fun externalId(): Optional = externalId.getOptional("external_id") /** - * An RFC 3339 timestamp indicating when precomputed KYC was completed on the business with a + * An RFC 3339 timestamp indicating when precomputed KYB was completed on the business with a * pass result. * * This field is required only if workflow type is `KYB_BYO`. @@ -491,7 +491,7 @@ private constructor( fun externalId(externalId: JsonField) = apply { this.externalId = externalId } /** - * An RFC 3339 timestamp indicating when precomputed KYC was completed on the business with + * An RFC 3339 timestamp indicating when precomputed KYB was completed on the business with * a pass result. * * This field is required only if workflow type is `KYB_BYO`. diff --git a/lithic-java-core/src/test/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponseTest.kt b/lithic-java-core/src/test/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponseTest.kt index 7f1b5e5d5..a735a6372 100644 --- a/lithic-java-core/src/test/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponseTest.kt +++ b/lithic-java-core/src/test/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponseTest.kt @@ -151,6 +151,7 @@ internal class AccountHolderSimulateEnrollmentReviewResponseTest { .ADDRESS_VERIFICATION_FAILURE ) .updated(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) + .kyPassedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .build() ) .websiteUrl("website_url") @@ -310,6 +311,7 @@ internal class AccountHolderSimulateEnrollmentReviewResponseTest { .ADDRESS_VERIFICATION_FAILURE ) .updated(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) + .kyPassedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .build() ) assertThat(accountHolderSimulateEnrollmentReviewResponse.websiteUrl()) @@ -457,6 +459,7 @@ internal class AccountHolderSimulateEnrollmentReviewResponseTest { .ADDRESS_VERIFICATION_FAILURE ) .updated(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) + .kyPassedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .build() ) .websiteUrl("website_url") diff --git a/lithic-java-core/src/test/kotlin/com/lithic/api/models/AccountHolderUpdateResponseTest.kt b/lithic-java-core/src/test/kotlin/com/lithic/api/models/AccountHolderUpdateResponseTest.kt index 3c0a1edd0..bbb82a465 100644 --- a/lithic-java-core/src/test/kotlin/com/lithic/api/models/AccountHolderUpdateResponseTest.kt +++ b/lithic-java-core/src/test/kotlin/com/lithic/api/models/AccountHolderUpdateResponseTest.kt @@ -156,6 +156,7 @@ internal class AccountHolderUpdateResponseTest { .ADDRESS_VERIFICATION_FAILURE ) .updated(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) + .kyPassedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .build() ) .websiteUrl("website_url") @@ -313,6 +314,7 @@ internal class AccountHolderUpdateResponseTest { .ADDRESS_VERIFICATION_FAILURE ) .updated(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) + .kyPassedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .build() ) .websiteUrl("website_url") diff --git a/lithic-java-core/src/test/kotlin/com/lithic/api/models/AuthenticationRetrieveResponseTest.kt b/lithic-java-core/src/test/kotlin/com/lithic/api/models/AuthenticationRetrieveResponseTest.kt index 93a416f7e..e9f116c8f 100644 --- a/lithic-java-core/src/test/kotlin/com/lithic/api/models/AuthenticationRetrieveResponseTest.kt +++ b/lithic-java-core/src/test/kotlin/com/lithic/api/models/AuthenticationRetrieveResponseTest.kt @@ -129,6 +129,7 @@ internal class AuthenticationRetrieveResponseTest { .methodType( AuthenticationRetrieveResponse.ChallengeMetadata.MethodType.SMS_OTP ) + .status(AuthenticationRetrieveResponse.ChallengeMetadata.Status.SUCCESS) .phoneNumber("phone_number") .build() ) @@ -272,6 +273,7 @@ internal class AuthenticationRetrieveResponseTest { .contains( AuthenticationRetrieveResponse.ChallengeMetadata.builder() .methodType(AuthenticationRetrieveResponse.ChallengeMetadata.MethodType.SMS_OTP) + .status(AuthenticationRetrieveResponse.ChallengeMetadata.Status.SUCCESS) .phoneNumber("phone_number") .build() ) @@ -414,6 +416,7 @@ internal class AuthenticationRetrieveResponseTest { .methodType( AuthenticationRetrieveResponse.ChallengeMetadata.MethodType.SMS_OTP ) + .status(AuthenticationRetrieveResponse.ChallengeMetadata.Status.SUCCESS) .phoneNumber("phone_number") .build() ) diff --git a/lithic-java-proguard-test/src/test/kotlin/com/lithic/api/proguard/ProGuardCompatibilityTest.kt b/lithic-java-proguard-test/src/test/kotlin/com/lithic/api/proguard/ProGuardCompatibilityTest.kt index dbe22f02b..613a57bd8 100644 --- a/lithic-java-proguard-test/src/test/kotlin/com/lithic/api/proguard/ProGuardCompatibilityTest.kt +++ b/lithic-java-proguard-test/src/test/kotlin/com/lithic/api/proguard/ProGuardCompatibilityTest.kt @@ -269,6 +269,7 @@ internal class ProGuardCompatibilityTest { .ADDRESS_VERIFICATION_FAILURE ) .updated(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) + .kyPassedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z")) .build() ) .websiteUrl("website_url") From 56443bd9759b4a60be9796b36d3d44168f42514c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 19:20:55 +0000 Subject: [PATCH 11/11] release: 0.101.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 20 ++++++++++++++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 27 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 97d8dbba5..aebbc8bc4 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.100.0" + ".": "0.101.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index dc96703a0..3960a3f85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 0.101.0 (2025-08-13) + +Full Changelog: [v0.100.0...v0.101.0](https://github.com/lithic-com/lithic-java/compare/v0.100.0...v0.101.0) + +### Features + +* **api:** adds detailed 3DS challenge statuses ([1dc17ba](https://github.com/lithic-com/lithic-java/commit/1dc17bad4eab570e14e2d067a04dcfbfdf7e00c2)) + + +### Chores + +* **example:** fix run example comment ([b4a3975](https://github.com/lithic-com/lithic-java/commit/b4a3975dc3331bfc2d6a04e3f66cfce7b1a9e8c8)) +* increase max gradle JVM heap to 8GB ([99fb198](https://github.com/lithic-com/lithic-java/commit/99fb198db3839a4e7679f44f143a100136d539d7)) +* **internal:** add async lock helper ([f72791f](https://github.com/lithic-com/lithic-java/commit/f72791f75b86e4c3597a40d6fd76edfb98ef1803)) +* **internal:** dynamically determine included projects ([12dc83a](https://github.com/lithic-com/lithic-java/commit/12dc83a39ab70881fdeb685ca2a59a9fee35ebdf)) +* **internal:** format identity methods ([df0a46a](https://github.com/lithic-com/lithic-java/commit/df0a46a55246472e722c718fa5386eba6c13da94)) +* **internal:** support passing arguments to test script ([b1b2e86](https://github.com/lithic-com/lithic-java/commit/b1b2e86e9d4edbec20fe8c68d0929167c848f77d)) +* **internal:** update comment in script ([f36b145](https://github.com/lithic-com/lithic-java/commit/f36b145db97f756b4ea77dbe25b1bebad35caa47)) +* update @stainless-api/prism-cli to v5.15.0 ([09e01b1](https://github.com/lithic-com/lithic-java/commit/09e01b1e84b9b4f434da61189ebd681b8187e09b)) + ## 0.100.0 (2025-08-04) Full Changelog: [v0.99.0...v0.100.0](https://github.com/lithic-com/lithic-java/compare/v0.99.0...v0.100.0) diff --git a/README.md b/README.md index ea643c48b..0ce60d56f 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.100.0) -[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.100.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.100.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.101.0) +[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.101.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.101.0) @@ -13,7 +13,7 @@ The Lithic Java SDK is similar to the Lithic Kotlin SDK but with minor differenc -The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.100.0). +The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.101.0). @@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.lithic.com](https://docs.lithic ### Gradle ```kotlin -implementation("com.lithic.api:lithic-java:0.100.0") +implementation("com.lithic.api:lithic-java:0.101.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.lithic.api:lithic-java:0.100.0") com.lithic.api lithic-java - 0.100.0 + 0.101.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 38798d539..e59ffab12 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.lithic.api" - version = "0.100.0" // x-release-please-version + version = "0.101.0" // x-release-please-version } subprojects {